Spaghetti Tom
Tuesday, September 25, 2012
PRINT, CAST, and @@ROWCOUNT
PRINT CAST(@@ROWCOUNT AS varchar(32)) + ' rows'
Herein:
PRINT will return a string.
@@ROWCOUNT will return the number of rows affected by the last statement.
CAST converts from one type to another.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment