Link to home
Start Free TrialLog in
Avatar of Sometimes
Sometimes

asked on

IIF Statement in SQL

I would usually use the following statment in microsoft access, however I can't get it to work in SQL server any ideas

SELECT IIf([AddressedDate] Is Null,[TargetDate],[PredictedCompletion]) AS [Order], * FROM Tjobrecord;


Thanks
ASKER CERTIFIED SOLUTION
Avatar of Hilaire
Hilaire
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sometimes
Sometimes

ASKER

Thanks