File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Customized error message in SQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Customized error message in SQL" Watch "Customized error message in SQL" New topic

Customized error message in SQL

Jennifer Sohl
Ranch Hand

Joined: Feb 28, 2001
Posts: 455
Hi. I have an app that is currently displaying customized error messages within the Java app. I just took a SQL class and realized that you can do customized error messages in SQL server (RAISERROR). If I were to write a script that had custom error messages in it, would this script be portable to use for instance on Oracle if we wanted to?
Thanks a bunch!
I agree. Here's the link:
subject: Customized error message in SQL
It's not a secret anymore!