About
Pricing
Community
Teams
Start Free Trial
Log in
bibi92
asked on
3/12/2014
question about iff
Hello,
I try select distinct d.LegalName, IIF ( (et.Description = 'VA'), 'YES', 'NO' ) as 'WITHOUT VA', a.* from ##CPTE a
The following error is returned :
Incorrect syntax near '='.
How can I resolve it?
Thanks
Microsoft SQL Server
3
1
Last Comment
Jim Horn
8/22/2022 - Mon