can and open a ref cursor to have records for two conditions?
meaning
refc1 is my refcursor
if contition then
open refc1 for ----
else
open refc1 for --
end if
how can i do this and also
can i open ref cursor for insert statment and update statment
please give example
meaning
refc1 is my refcursor
if contition then
open refc1 for ----
else
open refc1 for --
end if
how can i do this and also
can i open ref cursor for insert statment and update statment
please give example