If else in a stored procedure and returning a recordset

Printable View