UnleashThePain
Programmer
UPDATE [database].dbo.PAL
SET CLIENT_ID = (SELECT CLIENT_ID
FROM ORDERTEMP
WHERE TAG_ID IN
(SELECT TAG_ID
FROM ORDERTEMP
WHERE ORDERTEMP.TAG_ID = ORDER.TAG_ID))
When I execute the query in MS-SQL the error 'Timeout Expired' is displayed
Can anyone help me with making the query work? I want to update all fields of table ORDER except the key field (TAG_ID) with data from table ORDERTEMP.
-----------------------------------------
>>>Fornicate Under Command of the King<<<
SET CLIENT_ID = (SELECT CLIENT_ID
FROM ORDERTEMP
WHERE TAG_ID IN
(SELECT TAG_ID
FROM ORDERTEMP
WHERE ORDERTEMP.TAG_ID = ORDER.TAG_ID))
When I execute the query in MS-SQL the error 'Timeout Expired' is displayed
Can anyone help me with making the query work? I want to update all fields of table ORDER except the key field (TAG_ID) with data from table ORDERTEMP.
-----------------------------------------
>>>Fornicate Under Command of the King<<<