How to Handle the exceptions in Sqlsrver2000

Answers were Sorted based on User's Feedback



How to Handle the exceptions in Sqlsrver2000..

Answer / deepesh jain

@@Error

Is This Answer Correct ?    7 Yes 1 No

How to Handle the exceptions in Sqlsrver2000..

Answer / sisira

you can handle
RAISEERROR

Is This Answer Correct ?    4 Yes 1 No

How to Handle the exceptions in Sqlsrver2000..

Answer / bolisettyvaas

In SQL Server 2000 there is no powerful error handling like
.Net. But you can use one global variable @@ERROR. So after
every dml statement, you can retrieve this variable value
and verify if the value is not equal to 0 then it means some
error occured. otherwise no errors in the last executed
statement.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

Define the data provider classes that is supported by ado.net?

0 Answers  


What are the steps you will take to improve performance? Will you use dataset or datareader?

0 Answers  


Explain how do you connect to sql server database without using sqlclient?

0 Answers  


Explain the difference in record set and dataset?

0 Answers  


What is an orm, and why would you use one instead of plain old ado.net?

0 Answers  






What DataReader class do in ADO.NET ?

0 Answers   NA,


What are major difference between classic ADO and ADO.NET?

2 Answers  


How to maintain the relation between two tables in ADO.NET?

0 Answers   Petranics Solutions,


What are all the classes that are available in System.Data Namespace?

0 Answers  


Which architecture does Datasets follow?

0 Answers  


Which are the different IsolationLevels ?

3 Answers  


What is ado.net tutorial?

0 Answers  


Categories