DECLARE cursor c_demo1 is select * from emp ; BEGIN for rcdemo in c_demo1 loop -- sentencias end loop ; END ;