how to make a parameter optional in the query?
Answers were Sorted based on User's Feedback
Answer / ashok
Through NVL function.
select * from FND_User a
where user_name = nvl(:User_Name, a.user_name)
| Is This Answer Correct ? | 29 Yes | 3 No |
Answer / ahmed mazen
select * from fnd_user a
where (a.user_name = :user_name or :user_name is null)
| Is This Answer Correct ? | 1 Yes | 5 No |
Write an SQL Query to Delete Duplicate records from a table using ROWID.
24 Answers pspl, Satyam, Thinkways,
What is the difference between buyer&employee in PO module?
i have 100 pages output. i want to print 10 records per page in Template?
what do you mean by value sets
Presently u are working in which version?
What is set function in sql .E.g.What is difference between union and union all
what is Flex mode and Confine mode?
difference between 2 way and 4 way matching
what is the use of anchors?
What is the Lookup's and what is the use of lookup's?
what is the prerequisite for defining unit of measure?
what is the error you will get if field is referenced in wrong repeating frame?