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
What are the new features in sql server 2016?
1. Tell me your daily activities 2. If sql server installation fails at time installation what will do 3. Where does the sql server installation log details are stored 4. After the installation what will you do for memory configuration 5. What is the difference between SQL max maximum memory and AWE memory 6. How will you configure AWE memory 7. How will setup an email alert for the backup job 8. After the SQL installation what are the jobs will you configure 9. What does –g mean in the sql startup parameter 10. What is the difference between Bulked log and Full recovery model 11. What is the difference between mirroring and log shipping 12. What are the steps to be followed before in-place up gradation 13. After installing the patch the sql server does not start and application team tells to rollback the changes .In this scenario what will you do
List out different types of normalizations in sql server and explain each of them?
What is buffer cash and log cache in sql server?
What are the built in functions in sql server?
Where can you find the error log information? : sql server database administration
How to view existing indexes on an given table using sp_help?
What is acid mean in sql server?
Where are stored procedures in sql server?
How to create a stored procedure with a statement block in ms sql server?
How do I edit a procedure in sql server?
What is a mixed extent?
What is the sql case statement used for?
Explain the rules for designing files and file groups in sql server?
How do you handle datasets larger than 50 gb?