Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
jaggu.patil
Starting Member
3 Posts |
Posted - 2009-06-02 : 02:05:05
|
Hi Friends,I have simple query as Update.If update query updates value properly i need to return 0 otherwise i need to return -1.How can i achive this.Thanks & Regards--------------Jagadish |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-06-02 : 02:14:09
|
Use the @@ROWCOUNT system function. E 12°55'05.63"N 56°04'39.26" |
|
|
|
|
|