Quickly find SQL error message descriptions

Would you like an easy method to learn details about those pesky and cryptic SQL error message codes? These two methods are easy to use and are sure to help eliminate a lot of frustration when it comes to searching for SQL error message descriptions.

1. Use the following Display Message Description command, replacing the RANGE value with the SQL error code that you are investigating: DSPMSGD RANGE(SQL7007) MSGF(QSQLMSG)

2. Go to the DB2 Universal Database for iSeries page of the IBM Information Center web site, scroll down and then click on "SQL Message Finder". Key in your error number and you will quickly find yourself back on the road to productivity again.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


This was first published in December 2003

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.