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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modifying SQL Error Messages

Status
Not open for further replies.

Dan777

Programmer
Jul 22, 2000
34
US
Does anyone know if there's a way to change the error messages that SQL produces... the "DateTime Field OverFlow" error message just isn't that intuitive to end users, ya know. So is there anyway to change it to something like "Invalid date"?

Thanks,
Dan
 
There is a way. You can go to the 'master' database and find the table 'sysmessages'. Find your error number and in the description, you can change the text that is displayed. Or you could right click on your server and select 'all tasks', click 'manage sql server messages'. enter the error number and you should be able to change the text here as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top