Solved

Creating Alerts in Oracle Apps 11i

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

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…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

863 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

27 Experts available now in Live!

Get 1:1 Help Now