Hi. I am new to Triggers and SQL, so any assistance you can offer would be much appreciated. ![[ponytails2] [ponytails2] [ponytails2]](/data/assets/smilies/ponytails2.gif)
I need to write a simple trigger that fires whenever the ID field in my table is updated. This trigger would update another table that contains the same information in it, so...
If Table1.ID was updated
Any of Table2.ID's that match the original Table1.ID would be updated to the new value.
These tables are not related to one another, so I can't create a relationship between them.
How can I do this easily? Will the trigger fire if I am linking to SQL 2000 via an Access Project? Do I need to do anything special to activate triggers on my server? Thanks again in advance.![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
![[ponytails2] [ponytails2] [ponytails2]](/data/assets/smilies/ponytails2.gif)
I need to write a simple trigger that fires whenever the ID field in my table is updated. This trigger would update another table that contains the same information in it, so...
If Table1.ID was updated
Any of Table2.ID's that match the original Table1.ID would be updated to the new value.
These tables are not related to one another, so I can't create a relationship between them.
How can I do this easily? Will the trigger fire if I am linking to SQL 2000 via an Access Project? Do I need to do anything special to activate triggers on my server? Thanks again in advance.
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)