Hi

I have got a sql statement in var say v_s_sql_stmt = 'select * from mytable'
now I want use the v_s_sql_stmt in implisit cursor like this

FOR rec in (v_s_sql_stmt)
LOOP
..
END LOOP;

How can I do it. I don't have access to select stmt itself just to the variable

Ta