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 |
|
Non-conformer
Starting Member
14 Posts |
Posted - 2006-03-31 : 11:54:50
|
| Has anyone out there experienced intermittant problems with the @@rowcount function?I've observed some strange situations where it returns zero when it wasn't supposed to. But naturally, I can never duplicate the error in a controlled setting.Keep it simple.NC |
|
|
Srinika
Master Smack Fu Yak Hacker
1378 Posts |
Posted - 2006-03-31 : 12:10:16
|
| @@rowcount will be zero in some situations eg.any statement that does not return rows, such as an IF statement.[Taken from BOL]Srinika |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-04-03 : 01:37:36
|
| Read more about @@rowcount in sql server help fileMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|