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
 SQL Server Development (2000)
 about cursor

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-11-07 : 07:34:40
sivaa writes "to get n value by using cursor"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2005-11-07 : 07:35:33
Doesn't strike me as particularly useful:

declare curs cursor for select 'n'
open curs
fetch next from curs
close curs
deallocate curs
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-11-07 : 07:36:51
quote:
Originally posted by AskSQLTeam

sivaa writes "to get n value by using cursor"


Post your exact requirement. There may be better method than using Cursor

Madhivanan

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

- Advertisement -