Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Creating Alerts in Oracle Apps 11i

Posted on 2001-08-21
7
Medium Priority
?
3,371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
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 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…

597 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