how to write a trigger after insert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • javeed
    New Member
    • Jun 2011
    • 1

    how to write a trigger after insert

    hi,,,,
    i am having three tables(i.e,)emp loyee,departmen t,EDo tables and from that department no is common in all the three tables and when inserting the status should be set for that i have to write the stored procedure and trigger after insert and in sp we have to write update status and select statements.in select statement we have to pass the get the department name from table EDo where dept no is given.(i.e,)fro m the sp and trigger after insert when i give the department number then it should bring the department name out from the table.......
    Last edited by Niheel; Jun 9 '11, 09:44 AM.
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    Post what you have so far, and we'll see what we can do to help.


    ~~ CK

    Comment

    Working...