Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Use of if-else statement in Stored Procedure

754277Mar 2 2010 — edited Mar 2 2010
Hello,


I need to retrieve records from a db depending upon the where conditions in a select statement.

For example: If a condition is true then add 1 where condition in a select statement if not then check another if condition then add 1 more where condition.

Thank you,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 30 2010
Added on Mar 2 2010
3 comments
1,850 views