if -else condition in cursor
856037Jun 9 2011 — edited Jun 9 2011Hi,
I want to write a if-else condition in cursor.i.e.
cursor c1 is
if par=1 then
select * from tab1;
else
select * from tab2;
can anyone help me on this?
Edited by: user12288167 on Jun 8, 2011 11:49 PM