SINGLE SQL TRIGGER for INSERT, UPDATE & DELETE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kushwaha
    New Member
    • Nov 2006
    • 2

    SINGLE SQL TRIGGER for INSERT, UPDATE & DELETE

    Hi,

    I want to update a field in primary table using a single trigger when I using a foriegn table at the time of inserting a value, deleting a value or modifying that value.
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    Originally posted by Kushwaha
    Hi,

    I want to update a field in primary table using a single trigger when I using a foriegn table at the time of inserting a value, deleting a value or modifying that value.
    Hi there,

    What are the problems that your facing in the event of creating single trigger? Please be clear when asking question.

    Kindly refer to below link, hope it helps. Good luck & Take care.

    CREATE TRIGGER statement, Triggers, creating, defining when they fire, and database events, and the referencing clause, referencing old and new values, statement versus row triggers, the triggered-SQL-statement, order of execution, and recursion

    Comment

    Working...