Re: dynamic sql with a cursor ?
From: Aruna Tennakoon (kakopappa_at_hotmail.com)
Date: 03/19/04
- Next message: Aaron Bertrand [MVP]: "Re: dynamic sql with a cursor ?"
- Previous message: Aaron Bertrand [MVP]: "Re: Accessing SQL Server in a clustered environment"
- In reply to: Aaron Bertrand [MVP]: "Re: dynamic sql with a cursor ?"
- Next in thread: Aaron Bertrand [MVP]: "Re: dynamic sql with a cursor ?"
- Reply: Aaron Bertrand [MVP]: "Re: dynamic sql with a cursor ?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 19 Mar 2004 10:23:24 +0600
hi Aaron,
I have a dynamic sql statement which will perform a data
retrieval, I want to navigate thru it,
how do I do it ?
Thanks
-Aruna
"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:ORgJbdWDEHA.3392@TK2MSFTNGP11.phx.gbl...
> Maybe if you explain what you need to do in the loop, we can show you how
to
> do it without the cursor.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
> "Aruna Tennakoon" <kakopappa@hotmail.com> wrote in message
> news:eZdYRTWDEHA.2308@tk2msftngp13.phx.gbl...
> > Hi guys,
> > I am am just wondering whether we can use a dynamic
sql
> > with a cursor to loop thru all the recodes in the dynamic sql query ?
any
> > ides how to do this ?
> >
> >
> > -Thanks
> > -Aruna
> >
> >
>
>
- Next message: Aaron Bertrand [MVP]: "Re: dynamic sql with a cursor ?"
- Previous message: Aaron Bertrand [MVP]: "Re: Accessing SQL Server in a clustered environment"
- In reply to: Aaron Bertrand [MVP]: "Re: dynamic sql with a cursor ?"
- Next in thread: Aaron Bertrand [MVP]: "Re: dynamic sql with a cursor ?"
- Reply: Aaron Bertrand [MVP]: "Re: dynamic sql with a cursor ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|