Hello,
I am receiving an error message is seem at the second Where statement, I want the update to occur when the where statement is true see below. Any ideas on how to make this happen?
I am receiving an error message is seem at the second Where statement, I want the update to occur when the where statement is true see below. Any ideas on how to make this happen?
Code:
UPDATE HL_Data
SET Signon_ID = 'New_User_ID'
WHERE dbo.HL_Jobs.Job_Name, dbo.HL_Jobs.Job_Step, dbo.HL_Data.Category_Number, 'Permanent' AS Status
FROM dbo.HL_Data INNER JOIN
dbo.HL_Jobs ON dbo.HL_Data.Type_ID = dbo.HL_Jobs.Job_Number
WHERE (dbo.HL_Data.Signon_ID = 'Old_User_ID') AND (dbo.HL_Data.Type_Number = '3')