1 Reply Latest reply: Jul 23, 2013 5:09 AM by Marwim RSS

    using if statement in cursor problem

    053bdeeb-3f29-4334-90cd-300116607854

      Hi, I am getting problem in cursor in plsql. i'e

          DECLARE

          CURSOR curRec IS

                if condition then

                     select query1;

                else

                     select query2;

                end if;

            c1rec curRec%ROWTYPE;

      Pls.. help.