Might want to use replication for this. But...CREATE trigger dbo.Update_Trig on dbo.PLUTablefor update asbeginupdate t set col1 = i.col1, col2 = i.col2, col3 = i.col3, --etcfrom tester2.dbo.PLUTable2 tjoin inserted ion i.pkField = t.pkFieldEnd
If you don't want to write all the field names, you can drag 'em out of the object explorer by drag and dropping "columns" when you expand the table.Or you can be real lazy and do it like thisCREATE trigger dbo.Update_Trig on dbo.PLUTablefor update asbeginDELETE tfrom tester2.dbo.PLUTable2 tjoin inserted ion i.pkField = t.pkFieldINSERT tester2.dbo.PLUTable2SELECT * FROM insertedEND