Equivilant if IIf(Expression, true, false) Access function

D

Daryl

Hi
I have several MS Access queries that contain Immediate If (IIF) functions
in their SELECT clauses. I was wondering if I could get some tips on how
these can be converted to T-SQL ie used in a procedure.

thanks
daryl
 
S

Steve Jorgensen

Hi
I have several MS Access queries that contain Immediate If (IIF) functions
in their SELECT clauses. I was wondering if I could get some tips on how
these can be converted to T-SQL ie used in a procedure.

thanks
daryl

CASE WHEN <expression> THEN <truepart> ELSE <falsepart> END
 

Ask a Question

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.

Ask a Question

Top