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...

what is meant by sql injection with example and one more
question how to catch the errors in sqlserver

Answer Posted / kanan

how to catch the errors in sqlserver?

BEGIN TRY
SELECT 1/0
END TRY

BEGIN CATCH
RETURN ERROR_NUMBER()
RETURN ERROR_MESSAGE()
RETURN ERROR_LINE()
END CATCH

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If I delete a template from the list in sql studio, will it be deleted from the hard disk? : sql server management studio

970


Can you create a logon trigger in sql server 2005 express edition?

1072


What are the dis_advantages of stored procedures, triggers, indexes?

2211


What are the types of dml?

976


How do I determine how many instances of sql server are installed on a computer?

996


What is a trigger and types of a trigger?

975


What is the difference between drop table and truncate table?

917


What is the name of the Database which IBM mainframe uses?

975


Determine how to use the inserted and deleted pseudo tables?

979


How to create a new table in a given schema?

1172


what method you can use to reduce the overhead of Reporting Services data sources?

253


Explain datetimeoffset data type in sal server 2008?

899


What is difference between rownum and rowid?

892


What is the osql utility?

949


how many no of arguments can be passed in procedures and functions

5541