Member of the
LearnItFirst.com Video Training Network
Related Video Training Sites:
·
SQL Server DBA Tutorials
·
Integration Services Training
Create a free account
·
Sign In
Transact SQL Video Tutorial
Home
Subscriber Videos
Transact-SQL Programming and Query Writing Tutorial: RAISERROR and Substitution Parameters - How to Customize Your Error Messages (SQL Server 2000)
Chapter:
Stored Procedure Programming, Error Handling, and Passing Resultsets to the Client
Skill Level:
200 (Beginner - Intermediate)
Duration:
11:46
Size:
7.25MB
Versions/Editions Covered:
SQL Server 2000
Added/Updated:
Apr 18, 2006
This video is part of our series on using custom error messages in SQL Server and shows you how to create dynamic error messages that are stored in sysmessages (sys.messages in SQL Server 2005).
Highlights from this video:
sp_addmessage
Storing messages in the master database
Calling adhoc messages
Substition parameters (%s, %d) and dynamic vs. static parameterization
Architecture of error messages in SQL Server 2005 and 2000
RAISERROR and severity levels
SQL Server error message 50000
How to pass scalar functions into RAISERROR (i.e. SUSER_SNAME(), USER_NAME(), DB_NAME())
Using RAISERROR in stored procedures for custom error handling
Using RAISERROR WITH LOG to log SQL Server errors to the Event Log in Windows
Tags for this video:
log errors
master.dbo.sysmessages
master.sys.messages
msg_id
sql server error number
<
Back
People Who Downloaded this Video Also Downloaded:
Title
Skill
Download
Subqueries, Nested Queries, and Derived Tables - An Introduction to Advanced SQL...
300
Download
Constraint Keys, Index Keys, Composite Keys, Natural keys, and Surrogate Keys
200
Download
When to Use HAVING Instead of WHERE - Aggregates, GROUP BY, and the HAVING Claus...
300
Download
Query Analyzer - Beyond the Basics (SQL Server 2000)
200
Download
JOINs - An Overview of the Five Types of JOINs (Cross, Outer, and Inner)
200
Download
About the Instructor:
Scott Whigham is the founder of LearnItFirst.com, one of the web's most extensive video training libraries focusing on technical training. Scott is also an experienced consultant, trainer, and author with more than a decade of hands-on experience working with SQL Server databases, writing and debugging applications using Visual Studio, and performance tuning. Scott designed the architecture (websites, class libraries, and database) for the LearnItFirst.com websites and, most re...
(Scott Whigham's full bio can be found on the
About the Author
page)
About Us
·
Corporate Philosophy
·
Become an Author
·
Contact Us
Video Playback
·
System Requirements
·
TSCC Codec
(to play videos)
·
Troubleshooting/Problems
Subscriptions
·
Pricing/Buy Now
·
Testimonials
·
Privacy
·
Terms of Service
More Video Training
·
SQL Server DBA Tutorials
·
Integration Services Training
·
All of Our Websites
More
·
FAQs
·
Search for videos
·
Site Map
© Copyright 2004-2008 LearnItFirst.com LLC. All rights reserved. All trademarks remain the property of their respective owners. This site is not affiliated in any way with the Microsoft Corporation.
1/7/2009 2:42:50 AM