Trigger on a Table
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Trigger on a Table

  1. #1
    Join Date
    Dec 2007
    Posts
    3

    Trigger on a Table

    Hi,

    I am looking at to know if any changes are made to a table on the database. We pull the Oracle table and load it in the mysql database. The oracle table is updated once in a while. Now what I do is refresh the data on mysql everyday and compare the cahgnes.

    So is there any in built trigger or something which notifies me whenever a change is made in the table. Like shooting an email or something like that..so that I can pull the table to the mysql.

    Thanks

  2. #2
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    Yes triggers are available in oracle:

    Read this:
    http://download-uk.oracle.com/docs/c...ments_7004.htm

  3. #3
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,554
    Quote Originally Posted by skvd
    Hi,

    I am looking at to know if any changes are made to a table on the database. We pull the Oracle table and load it in the mysql database. The oracle table is updated once in a while. Now what I do is refresh the data on mysql everyday and compare the cahgnes.

    So is there any in built trigger or something which notifies me whenever a change is made in the table. Like shooting an email or something like that..so that I can pull the table to the mysql.

    Thanks
    This looks like human-driven replication, interesting concept
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width