This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Customized error message in SQL
It's not a secret anymore!