Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with RAISERROR

Status
Not open for further replies.

omauri

Programmer
Jan 24, 2001
12
0
0
CO
Hi. How can I make a personal error message with T-SQL code??? Besides, How Can I insert variable data in a personal error message? Thanks...
 
Use sp_addmessage system stored procedure. It is well documented in the T-SQL reference of SQL BOL. I also recommend reading the information in SLQ BOL about RAISERROR.

See the following WEB links.



Terry L. Broadbent - Salt Lake City, UT
Home of the 2002 Winter Olympics (Feb 8-24)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top