Solved

Can I send a Windows message box from pl/sql?

Posted on 2001-06-20
6
1,616 Views
Last Modified: 2008-02-01
I know I can raise an exception and have the message bubble up to the windows client as a message box to let the user know there is an error through pl/sql RAISE statements and exception handling, but how can I send a message box to windows if the process is successful?
0
Comment
Question by:billgough
6 Comments
 
LVL 1

Expert Comment

by:EugeneGardner
ID: 6212855
Are you running PL/SQL using the database engine or via another mechanism such as Developer 2000 ?
0
 
LVL 4

Expert Comment

by:srikant033100
ID: 6213252
How ur sending the error message through the messaage box to the client.

Srikant
0
 

Author Comment

by:billgough
ID: 6214136
PL/SQL on the database, not through a developer tool.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:HuzaifaMerchant
ID: 6214590
you can use raise_application_error function to raise an application error from pl/sql. i think you should be able to handle the error in the client like you handle any oracle error using the error number and message.
0
 

Author Comment

by:billgough
ID: 6214666
Yes, I have used that in the past...for errors.

...however, using error handling when there isn't an error does not sound like a good practice to me, hence the call to see if there is a similar way to do it without using RAISE or RAISE_EXCEPTION_ERROR.
0
 
LVL 2

Accepted Solution

by:
vanmeerendonk earned 50 total points
ID: 6224410
And the old fashion way: call a function on the server
that returns and errorcode 0 when correct and display an alert when the code is 0????
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Retreiving column names in Windows but not in Unix 11 75
Sybase and replication server 13 58
PL/SQl Expanding the WHERE statement in query 3 34
how to tune the query 17 56
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question