Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sqlexec -- determing success
Message
De
15/02/2000 12:54:22
 
 
À
15/02/2000 12:50:44
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00332223
Message ID:
00332303
Vues:
12
Try something like this:

UPDATE table SET column = newvalue WHERE ...; SELECT @@ROWCOUNT

The SELECT @@ROWCOUNT will return the number of rows affected by the UPDATE. In general, you'll get better performance by calling a stored procedure and passing parameters but this will get you by.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform