How can you get @@error and @@rowcount at the same time?
Answer Posted / binoo tiku
@@error variable shows the error number of the last
T-SQL error
@@rowcount variable gives the number of rows affected by
the most recent SQL statements.
| Is This Answer Correct ? | 9 Yes | 7 No |
Post New Answer View All Answers
Can we take the full database backup in log shipping?
How do database indexes work?
Can I run multiple instances of sql server 2000 at the same time on one computer?
Do comments need to go in a special place in sql server 2005?
What is inline table-value user-defined function?
What is 1nf 2nf and 3nf?
What is sql azure database?
What is the difference between drop table and truncate table?
How to perform key word search in tables?
What is the use of stored procedure?
What is cursors?
What are the 3 types of schema?
what are the disadvantages of cursors? : Sql server database administration
What have included columns when we talk about sql server indexing?
How do I edit a procedure in sql server?