How to handle errors in Stored Procedures. I want to display
a message to the user in the .aspx page that is calling a
stored procedure in it's code behind. please help me.

Answer Posted / bru medishetty

You can use RaiseError or use the TRY CATCH Programming in
the Stored Procedure Code.

Thanks,
Bru Medishetty
www.LearnSQLWithBru,com

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of containers in ssis and also their types?

704


What is difference between line feed ( ) and carriage return ( )?

681


What is an indexing technique?

667


Do you know query execution plan?

767


What is the usage of sign function?

774






What do you understand by hotfixes and patches in sql server?

689


Explain how to integrate the ssrs reports in application?

691


Can you give me some DBCC command options?(Database consistency check) - DBCC CHECKDB - Ensures that tables in the db and the indexes are correctly linked.and DBCC CHECKALLOC - To check that all pages in a db are correctly allocated. DBCC SQLPERF - It gives report on current usage of transaction log in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any damage.

2231


What are the steps to take to improve performance of a poor performing query? : sql server database administration

786


What is the difference between cube operator and rollup operator? : SQL Server Architecture

817


What is difference between count (*) and count column?

664


What is a natural primary key?

684


Tell me what is use of except clause? How it differs from not in clause?

705


ow to bring suspect mode datbase online from scratch

1573


What is extent? Types of extents?

789