Use of if-else statement in Stored Procedure
754277Mar 2 2010 — edited Mar 2 2010Hello,
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,