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 2005 Forums
 Transact-SQL (2005)
 how to find cursor is already exists or not ?

Author  Topic 

pmotewar
Yak Posting Veteran

62 Posts

Posted - 2009-09-15 : 02:28:35
Hi all,
is there any procedure / function / views which tells cursor already open/exists in Database.

my requirement is if cursor is already exists then close and declare new one .

any help appriciated

Pankaj

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-09-15 : 02:40:36
http://sqlblogcasts.com/blogs/madhivanan/archive/2009/09/08/cursor-statuses.aspx

Madhivanan

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

- Advertisement -