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
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Open a cursor from a dynamic SQL?

Author  Topic 

Mits
Starting Member

48 Posts

Posted - 2009-10-12 : 06:50:06
Just a simple one, is it possible to do following:

Declare #Cur cursor for exec(@Sql)

where @SQL is a variable with a select statement.

Mits

robvolk
Most Valuable Yak

15732 Posts

Posted - 2009-10-12 : 12:45:33
No, and why would you want to?
Go to Top of Page
   

- Advertisement -