Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return @@rowcount
Message
De
07/01/2001 18:23:04
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, Colombie Britannique, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00460245
Message ID:
00460367
Vues:
13
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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform