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 |
|
montu
Yak Posting Veteran
60 Posts |
Posted - 2008-02-19 : 20:44:03
|
| is there is any way to find out whether my query return 0 rows inside a stored procedure. |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-02-19 : 22:27:45
|
| Use 'select @@rowcount'. |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-02-20 : 00:29:11
|
quote: Originally posted by rmiao Use 'select @@rowcount'. immediately after the select statement
MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|