Solved

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

Posted on 2001-06-20
6
1,562 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
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 explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now