Looking at BOL, it shows that an IIF function exists. Maybe post the entire
SQL Statement and the error that you are receiving to see if someone can
help.
Running the NorthWind database and the following query:
SELECT ProductName, IIF(Discontinued = 0, 'No', 'Yes') AS Discontinued
FROM Products
I get the error: "Incorrect syntax near =".
What's the problem?
Ricardo
"[MVP] S.Clark" escreveu:
Looking at BOL, it shows that an IIF function exists. Maybe post the entire
SQL Statement and the error that you are receiving to see if someone can
help.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.