find_in_set in oracle
685284Feb 29 2012 — edited Feb 29 2012Hi to all,
What is the equivalent of mysql find_in_set in oracle.
For Ex:
SELECT * FROM USERS WHERE ID IN(2,4,1)
Output should be:
2,4,1
SELECT * FROM USERS WHERE ID IN(4,2,1)
Output should be:
4,2,1
I want output should be based on the order of parameters
Thanks in advance