
31/07/2007, 16:40
|
| | Fecha de Ingreso: julio-2007
Mensajes: 2
Antigüedad: 17 años, 6 meses Puntos: 0 | |
Ejecutar un stored Hola:
Alguien me puede ayudar con el siguiente problema:
Ejecuto mi stored procedure
declare
v_uno char;
v_dos varchar2(100);
begin
sp_grupo(sq_grupo.nextval,'prueba',v_uno,v_dos);
dbms_output.put_line('variable 1 trae '||v_uno);
dbms_output.put_line('variable 2 trae '||v_dos);
end;
y me sale el siguiente error:
ERROR at line 5:
ORA-06550: line 5, column 26:
PLS-00357: Table,View Or Sequence reference 'SQ_GRUPO.NEXTVAL' not allowed in this context
ORA-06550: line 5, column 4:
PL/SQL: Statement ignored
GRACIAS. |