Solved

Creating Alerts in Oracle Apps 11i

Posted on 2001-08-21
7
3,328 Views
Last Modified: 2007-12-19
I want to create an update/insert/delete alert on a certain column of a table in Oracle Apps without using triggers...
I know that Oracle Apps 11i has a facility which allows me to create an alert on the whole table...
but my requirement is only for a particular column not the whole table
Please can anyone advice....
0
Comment
Question by:meetkahuto
  • 3
  • 2
  • 2
7 Comments
 

Expert Comment

by:wandidj1
ID: 6410370
to change the structure and making additon to oracle application table is dangerous.
however if you'd like to make a trigger.

you can create a trigger contained dbms_alert using dba studio or from sql plus.

example:
CREATE TRIGGER emptrig AFTER INSERT OR UPDATE OR DELETE ON emp
    BEGIN
      DBMS_ALERT.SIGNAL('emp_table_alert', 'message_text');
   END;

For complete reference check this out:
http://technet.oracle.com/doc/server.815/a68001/dbms_ale.htm


wandi
0
 

Author Comment

by:meetkahuto
ID: 6410978
Thanks for the reply, but Trigger is not the option.
            The moment the table gets updated or a new data gets entered into the table, i can run a PL/SQL program. So I want to put a logic inside the PL/SQL program which can figure out which column got updated, and if the Column that got updated is the one i am monitoring. Then return the last value and the new value in that column.
0
 

Author Comment

by:meetkahuto
ID: 6411019
Thanks for the reply, but Trigger is not the option.
            The moment the table gets updated or a new data gets entered into the table, i can run a PL/SQL program. So I want to put a logic inside the PL/SQL program which can figure out which column got updated, and if the Column that got updated is the one i am monitoring. Then return the last value and the new value in that column.
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.

 

Author Comment

by:meetkahuto
ID: 6411020
Thanks for the reply, but Trigger is not the option.
            The moment the table gets updated or a new data gets entered into the table, i can run a PL/SQL program. So I want to put a logic inside the PL/SQL program which can figure out which column got updated, and if the Column that got updated is the one i am monitoring. Then return the last value and the new value in that column.
0
 

Accepted Solution

by:
wandidj1 earned 100 total points
ID: 6411032
alright then, you just using dbms_alert packages.
you can ask me if you have a problem about dbms_packages


wandi
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7034729
Please update and finalize this old, open question.  Please:

1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.

EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.

Thanks,
Moondancer - EE Moderator

P.S.  Please click your Member Profile, expand View Question History to navigate and update all your open and locked questions.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7057512
Zero response, thus finalized.
Moondancer - EE Moderator
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.

Question has a verified solution.

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

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…
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 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…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

830 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