Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trigger after update

Status
Not open for further replies.

manmaria

Technical User
Aug 8, 2003
286
US
If I have a base table customer with custid, name1, name2, add1, add2, begdate, enddate.
And I have a update on name2 and add2 then I want to capture the change and write in a staging table with the whole old record except the enddate. Enddate I want to put the current date.

Is that old record(old name2, old add2) exists in the base table or inserted table?

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top