Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Can we get a trigger of one table on another?

Can we get a trigger of one table on another?

Scheduled Pinned Locked Moved Database
databasehelpquestionannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lavanya_satheesh
    wrote on last edited by
    #1

    I have got four tables. When update happens in any of the four tables a trigger should be fired. i have written it for one table. is there any way to get this same trigger for all the other tables also? Or should i write different triggers for all the tables. I am having difficutly in enabling the trigger for other tables using the enable trigger command. dont know if that is possible. Please help. Thanks in advance. Lavanya:rose:

    P 1 Reply Last reply
    0
    • L lavanya_satheesh

      I have got four tables. When update happens in any of the four tables a trigger should be fired. i have written it for one table. is there any way to get this same trigger for all the other tables also? Or should i write different triggers for all the tables. I am having difficutly in enabling the trigger for other tables using the enable trigger command. dont know if that is possible. Please help. Thanks in advance. Lavanya:rose:

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      You should have different triggers for each table, mainly because each table will be structured differently, and I assume that the triggers will be different.

      Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups