can I use if statement in SQL???
Hello everyone.
I know that this is a silly question. The answer is no. Instead I should use decode function.
But what if I dont know all possible outcomes, can I still use decode function?
Also, I have created a view, in the where clause i want to use if statement. Is it possible to do?
Thanks in advance,
Sonya