Get the error when run the SQL Query, anyone can help me?
SQL:
UPDATE BOM
SET EQM_UPDATE_DT_GMT =
(Select distinct (UPDATE_DT_GMT) from dbo.EQM WHERE EQP_NUM = 'TCKU364304'
AND FAC_NAME = 'SIN01' )
WHERE EQP_NUM = 'TCKU364304'
AND FAC_NAME = 'SIN01'
Error Message:
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.The statement has been terminated.
wailun3