Question

Asked on 1998-06-07 at 04:36:44ID: 25453101

RAISE_EXCEPTION message customization ?

by: hrproj150

Rating4.4Average

I wonder if it is possible to customize the shape of user messages while using RAISE_EXCEPTION function in PL/SQL.
The project is in Oracle Application HR and the version of the database is Oracle 8. We tried to add some new data verification functionality to the application by using database triggers, but the messages to the user are unbearably awkward: after having a message that something wrong happened, the user presses HISTORY button and gets all possible codes and unfriendly system informaton.
Is it possible to override it?

  1. Is it possible to reference a function in a query us…
    Is it possible to reference a function like this in a query: SELECT idField, My_Function(idField) As Label1 FROM MyTable WHERE Label1 = 1; The thing is that I have a function with many parameters that I call as a field in a query. It's quite ugly to repeat the same function in the "WHERE" section of the query.
  2. Oracle Procedure/Function for User Login to an …
    I am trying to create a procedure or function, I am not sure which one would be better to perform user logins but I am having a lot of trouble trying to figure this out, i'm new to Oracle. If you can fix the Procedure below or think it should be adapted to a function any help would be appreciated, it does not work the way I want it to right now. I would…
  3. Oracle Function in a select statement?
    Hi I am wondering if there is any way to achieve the following I want to basically have a statement like this select x.col1, x.col2, myfunctionhere(symbol, parameter) from mytable x my function would accept a text string and a timestamp, do a select from another table based on the parameters like so myfunctionhere( accep…
  4. Table function in oracle
    Dear Experts, Why i have to use table function in oracle pl/sql ?. How effectively i can use table function ?. Where i have to use it ?.
  5. Record count on Database Block
    Hi all, I have 2 canvas (1 canvas having database block items ,2nd having control block items & FIND button also in Control block), My requirement is when i select any one of the lov and click on the find button(in 2nd canvas , control block canvas) then it navigates to the database block canvas and displays records, at that time i want to …

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution
View This Solution - Start Your 30 Day Free Trial
Zone
General
Tags
raise_exception oracle
Participating Experts
4
Solution Grade
D

Replies

 by: mgokman

Posted on 1998-06-07 at 08:16:03ID: 28201770

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: hrproj

Posted on 1998-06-09 at 00:16:58ID: 28201771

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: kittu

Posted on 1998-06-09 at 05:52:56ID: 28201772

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: petevdb

Posted on 1998-06-10 at 07:37:02ID: 28201773

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: hrproj

Posted on 1998-06-17 at 06:22:18ID: 28201774

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: mgokman

Posted on 1998-06-17 at 12:24:47ID: 28201775

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: altena

Posted on 1998-06-18 at 02:53:22ID: 28201776

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: hrproj

Posted on 1998-06-21 at 07:23:15ID: 28201777

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by:

Posted on 1998-06-21 at 07:32:40ID: 28201778

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: hrproj

Posted on 1998-06-30 at 23:05:17ID: 28201779

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Stay Connected

Oracle Around the Web

The latest Oracle news, tips, and tricks

Oracle Unveils Netra SPARC T3 Servers

New Carrier-Grade Blade and Rackmount Servers Deliver Better Performance, Density and Power Efficiency for the Communications Industry ...

read more

Oracle fixes 21 flaws in Java SE, Java for Business

Oracle is fixing 21 flaws in its Java SE and Java for Business products in its February critical patch update issued this week ...

read more

Obama’s Silicon Valley “Tech Supper”

Why was he there? Who wasn’t invited and why? What did they talk about? Why was he really there? These are the questions being debated ...

read more

Featured Oracle Experts

slightwv

slightwv has answered more than 2,000 Oracle questions and oversees database management within the U.S. Government. Slightwv

sdstuber

A regular presenter at the Collaborate conference, Oracle developer sdstuber is a top expert in PL/SQL and Oracle 9, 10 and 11. sdstuber

Testimonials

What users are saying about our experts

"The Oracle gurus provide answers, solutions and valuable workarounds"

User: schwertner

"Wow! Excellent, valuable explanation. Hats off to you"

User: aseshu70

"Solution worked fantastic and performs excellent! Thanks heaps"

User: klausbrandlhuber

Top Experts

  1. slightwv

    2,000

    0 points yesterday

    Profile

BrowseBecome an Expert