The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

ramukalyan (1) [Avatar] Offline
#1
my query is having 3 parameters @load_id,@load_type,@load_date

select load_id,load_type,load_date from a

i need to use iif clause in where condition to select these parameters on different scenarios

1.for all selection
2.any two
3.any one
4.for all null


any idea on where claues with iif