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)
 SQLServer

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-04-21 : 07:56:03
Abhishek writes "hi,

I was trying to use SQLRowCount in SQLServer2000.
But I dont know what parameters to pass to and how can i store the returned value in any variable.

Best Regards

Abhishek Rustogi"

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-04-21 : 10:03:36

Set RowCount number

Madhivanan

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

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2005-04-22 : 00:56:46

set @var=@@rowcount

the @@rowcount will return the number of rows that were affected by the query prior to it

--------------------
keeping it simple...
Go to Top of Page
   

- Advertisement -