how to make a parameter optional in the query?

Answers were Sorted based on User's Feedback



how to make a parameter optional in the query?..

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

how to make a parameter optional in the query?..

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

Post New Answer

More Oracle Apps Technical Interview Questions

What r the validation types?

3 Answers  


Tell me some errors names and number what u got while developing the reports?

1 Answers  


what is inbound and outbound interface?

2 Answers  


In unix Schell sript what is very 1st line to be wriiten .

2 Answers   IBM,


What are file in oracle.

0 Answers   BirlaSoft, IBM,






where we can check the status of po.

4 Answers  


In xml report, how to print the headings in every page?

1 Answers   Sierra Atlantica,


How can we import the data into a database using sql * loader?

0 Answers  


What are the files we submit while your program move to testing instance?

4 Answers   Cap Gemini,


Cycle of requestion to receving transaction.

1 Answers   Accenture,


What is oracle soa suite and what are its different components?

0 Answers  


Can you define an erp system?

0 Answers  


Categories
  • Oracle Apps Technical Interview Questions Oracle Apps Technical (547)
  • Oracle Apps Financial Interview Questions Oracle Apps Financial (793)
  • Oracle Apps Manufacturing Interview Questions Oracle Apps Manufacturing (53)
  • Oracle Apps HRMS Interview Questions Oracle Apps HRMS (169)
  • Oracle Apps CRM Interview Questions Oracle Apps CRM (9)
  • Oracle Apps SCM Interview Questions Oracle Apps SCM (141)
  • Oracle Install Base Interview Questions Oracle Install Base (62)
  • Oracle Service Contracts Interview Questions Oracle Service Contracts (101)
  • Oracle Apps AllOther Interview Questions Oracle Apps AllOther (114)