Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to Handle the exceptions in Sqlsrver2000

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which database is the ado.net?

924


What are the different methods by which we can populate a dataset?

1190


What is sqlconnection and sqlcommand?

1018


Describe the command object and its method.

965


Explain the dataadapter class in ado.net?

1143


What is executenonquery ado.net?

896


Explain the role of data provider in ado.net?

950


How can we check that some changes have been made to dataset since it was loaded?

928


What is the maximum pool size in ado.net connection string?

896


Is it possible to edit data in Repeater control?

902


Is ado.net dead?

958


What do you know about ADO.NET's objects and methods?

909


How can I retrieve two tables of data at a time by using data reader?

947


Describe datareader object of ado.net with example.

886


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

925