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)
 Set Rowcount error on SQL7 but not SQL2000

Author  Topic 

Pete32
Starting Member

4 Posts

Posted - 2007-03-30 : 09:48:02
We recently switched over from SQL7 to SQL2000 and a new error has come up. The statements below raise the "Invalid argument for SET ROWCOUNT. Must be a non-null non-negative integer." error on SQL2000 but not SQL7.

declare @row integer
set @row = null
set rowcount @row

I understand that this error should occur, but why doesn't it raise an error on our SQL7 server. I'm guessing this has to do with the configuration options, but I can't figure which one. Please help.

X002548
Not Just a Number

15586 Posts

Posted - 2007-03-30 : 13:17:34
dup..please don't cross post



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page
   

- Advertisement -