Hi Everyone,
I need to create a case statement like -
CASE
WHEN tblIrdbMonths.[90Days] IS NULL
THEN Update tblIrdbMonths SET tblIrdbMonths.[90Days] = [60Days]
ELSE tblIrdbMonths.[90Days]
END
This statement errors out because of the update statement. Is this possible to do? If so, what is the correct syntax?
Thanks so much in advance for your help!
Cathy
I need to create a case statement like -
CASE
WHEN tblIrdbMonths.[90Days] IS NULL
THEN Update tblIrdbMonths SET tblIrdbMonths.[90Days] = [60Days]
ELSE tblIrdbMonths.[90Days]
END
This statement errors out because of the update statement. Is this possible to do? If so, what is the correct syntax?
Thanks so much in advance for your help!
Cathy