Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sqlexec -- determing success
Message
From
15/02/2000 12:54:22
 
 
To
15/02/2000 12:50:44
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00332223
Message ID:
00332303
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform