Ver Mensaje Individual
  #9  
Antiguo 25-06-2004
febito febito is offline
Miembro
 
Registrado: dic 2003
Posts: 28
Reputación: 0
febito Va por buen camino
Mira yo tengo este sp en la base:

(
NOMTABLA IN VARCHAR2 DEFAULT NULL,
NUEVO_ID OUT number
)
as
begin
SELECT S.SECUENCIA INTO GENERAR_ID_S.NUEVO_ID FROM omwb_login1.SECUEN S WHERE S.TABLENAME = NOMTABLA;
end GENERAR_ID_S;

y lo llamo asi:

exec omwb_login1.generar_id_s('ESTADO');

y me da este error

PLS-00306: número o tipos de argumentos erróneos al llamar a 'GENERAR_ID_S'
ORA-06550: línea 1, columna 7:
PL/SQL: Statement ignored

que estoy haciendo mal?
Gracias por la ayuda
Responder Con Cita