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

What is the meaning of executenonquery?

0 Answers  


Define different execute methods of ADO.NET command object ?

0 Answers   NA,


What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?

0 Answers  


feature of ADO.Net

11 Answers   Wipro,


What is the default timeout specified for "sqlcommand.commandtimeout" property?

0 Answers  






Explain how to pass multiple tables in datasets simultaneously?

0 Answers  


How do you update a dataset in ado.net?

0 Answers  


How do you merge 2 datasets into the third dataset in a simple manner?

0 Answers  


What are basic methods of dataadapter?

0 Answers  


What is the difference between statement and preparedstatement interface?

0 Answers  


How xml files and be read and write using dataset ?

1 Answers  


How do you handle data concurrency in .NET ?

9 Answers   Infogain, SunGard,


Categories