I have a Database of 10 Columns,
let it be like A,B,C,D,E,F,G,H,I,J
Now if i want to extract data with a mix of 4 options
i.e say B,C,H,J
(B is my primary key)
and none of them are mandatory to give data in the option.
say
Case 1 : B,C,H
is given as parameters and J
is given null
for all such cases I have to make a nested if Else statement ?
Because it will go for 4! (factorial)= 24 cases
Is there any easy option for this???