Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 cursors

Author  Topic 

sangfroid
Starting Member

3 Posts

Posted - 2008-02-24 : 23:13:33
Hi
I defined a cursor and executed it...but now i exactly forgot what select statement i had run in the cursor..(forgot the columns that i am extracting )

how do I view the contents of the cursor ?

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2008-02-25 : 01:26:59
If you are in Query Analyser and you run the CURSOR , you can just issue a PRINT statement of the variables

Jack Vamvas
--------------------
Search IT jobs from multiple sources- http://www.ITjobfeed.com
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-02-25 : 02:57:51
Can you tell us what you are doing using Cursor?

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -