How do you find the error, how can you know the number of
rows effected by last SQL statement?



How do you find the error, how can you know the number of rows effected by last SQL statement?..

Answer / laxman

select @@error
select @@rowcount

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More SQL Server Interview Questions

diffrence between function and procedure

5 Answers   Wipro,


How to create nested stored procedure?

0 Answers  


What is the difference between char and varchar2 datatype in sql?

0 Answers  


What are relationships and mention different types of relationships in the dbms

0 Answers  


how do we find every fifth record in a table

14 Answers   Aspire, HCL,






What is sql or structured query language?

0 Answers  


What is the command to change the recovery model?

0 Answers  


What are the different ways of moving data/databases between servers and databases in SQL Server?

1 Answers  


Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?

0 Answers  


What are the type of joins? When do we use Outer and Self joins?

3 Answers  


How to get last system shutdown time in Sql server when restarted system?

1 Answers  


What languages bi uses to achieve the goal?

0 Answers  


Categories