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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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,763 views