Thread: Trigger Help
07-10-09, 17:15 #1Registered User
- Join Date
- Jul 2009
- Dallas, TX
Unanswered: Trigger Help
I need some assistance on writing up a trigger. I've searched, but still cant find anything close to what I'm looking.
This is what I'm trying to do.
Before a record is deleted from the Primary_Contact table, a trigger will get the value that's in the objid column and match it to the value in the secondary_contact2primary column that's in the Secondary_Contact table.
Once matched the records that are in the Seconday_Contact table would need to be copied to an Achive database and then deleted from the Production database.
Hope this is clear for people to understand.
Thanks for any help.
07-10-09, 19:11 #2Annie's Dog Walker
Provided Answers: 6
- Join Date
- Nov 2004
- on the wrong server
there appears to be a couple of articles near the top here...
GoogleIf one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry. Earnest Hemingway, A Farewell To Arms.