hi all.
I'm needing some help on updating whole column of a table (T1) according to a 2nd table T2(wich is a subselect from an openquery). I need to do this update every time a new record is added on T1.
Here are my table columns (& keys):
T1:
ID,T1_Col1, T1_Col2, T1_Col3, T1_Col4, T1_Col4, T1_Col5
T2: (wich is the return from the openquery)
T2_Col1, T2_Col2
this one returns more records than exists on T1
Here's what i need to do:
Set the T1_Col4 = T2_Col2
Where T1_Col1= T2_Col1
Every time an insert on T1 occurs (this should be part of a trigger)
My problems are with the use of the subselect from the openquery.
Can someboby help me on this??, I'm Stuck.
Regards,