Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return @@rowcount
Message
From
07/01/2001 18:23:04
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, British Columbia, Canada
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00460245
Message ID:
00460367
Views:
14
Thanks for the tip. I'll remember that.

BTW, do you use the SQL debugger in VB to step through MS SQL Server stored procedures?

Paul



>You may already know about this, but one thing to careful about with @@ROWCOUNT in SQL Server is that it may be reset after each T-SQL statement, like @@ERROR is. Just to be careful, after I execute a SELECT, INSERT, whatever, I:
>
>SELECT @ErrorNo = @@ERROR, @RowCnt = @@ROWCOUNT
>
>Then at the end of the sproc, I use @RowCnt rather than @@ROWCOUNT
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform