Solved

Display a Windows message box from a Oracle PL/SQL package

Posted on 2006-06-13
5
2,711 Views
Last Modified: 2008-01-09
We have an Oracle database, that we want to build a PL/SQL package in, that will notify the user whether or not they have done their time entry for the day, via a windows message box displayed to their screen at 2 PM each day.  Can an Oracle PL/SQL package do this?

Thanks.
0
Comment
Question by:dkbailey1
  • 3
  • 2
5 Comments
 
LVL 16

Accepted Solution

by:
MohanKNair earned 500 total points
ID: 16893203
PL/SQL is a back-end programming language. It can communicate only with other Oracle sessions or with the Oracle client programs.

To buid an alerting mechanism using Windows that works at 2pm each day, it is better to write a client utility that connects to Oracle.
0
 

Author Comment

by:dkbailey1
ID: 16893221
Do you know if a scheduled webpage can send window messages to various users from the webserver?
0
 
LVL 16

Expert Comment

by:MohanKNair
ID: 16893277
Using PL/SQL it is possible to send E-Mail to all users using UTL_SMTP package. I don't know whether this will help.

Using PL/SQL server pages it is possible to invoke SP's from a WEB page.

I am not sure whether a WEB page can be programmed to do messaging in windows.

0
 

Author Comment

by:dkbailey1
ID: 16893321
It seems my two choices are to build a webpage that sends an email to each user reminding them to enter their time, or have a webpage on each user's machine that uses the Task Scheduler, where the webpage connects to the database, and then uses javascript that displays a message box to the user reminding them to enter their time.  Could such a webpage be 'hidden' or executed in the 'background' so that the user never sees the webpage, only the message window?
0
 
LVL 16

Expert Comment

by:MohanKNair
ID: 16893351
This task involves programming using  some language. Post the same question in Programming section.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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
upgrading Oracle 10g/ 11g / 11g R2 to Oracle 12c 25 89
Field name with special character (Ñ) in Oracle 11 141
add more rows to hierarchy 3 35
pl/sql parameter is null sometimes 2 25
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

726 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