How do you find the error, how can you know the number of
rows effected by last SQL statement?
Answer Posted / chandra rekha
select @@error'Error'
select @@rowcount'Rows'
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to delete existing rows in a table?
Where are full-text indexes stored?
What is the difference between online clustering and Offline clustering?
What is difference in performance between insert top (n) into table and using top with insert?
Can you move the resources after pausing the node? : sql server database administration
While migrating Microsoft SQL Server 2008 database to SQL Azure, what can be done to ensure the database connectivity does not degrade?
How can you list all the table constraints in a database?
Explain database normalization?
What are system databases into sql server (2005/2008) : sql server database administration
Why de-normalization required?
What is 3nf normalization?
Explain forward - only cursors?
Data is not being delivered to subscribers, what can be the possible reasons? : sql server replication
What authentication modes does sql server support?
How to get the number of affected rows?