Solved

Creating Alerts in Oracle Apps 11i

Posted on 2001-08-21
7
3,310 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.

Join & Write a Comment

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

706 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

12 Experts available now in Live!

Get 1:1 Help Now