|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
HUGE problem - how to know how many rows changed in UPDATE ?
i'm running this:
UPDATE COUNTER SET ID=ID+1 WHERE ID=5 i need to know if the UPDATE changed the record. any ideas? thank you. |
|
#2
|
|||
|
|||
|
Re: HUGE problem - how to know how many rows changed in UPDATE ?
It is contained on the @@ROWCOUNT Variable
Quote:
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > HUGE problem - how to know how many rows changed in UPDATE ? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|