Ver Mensaje Individual
  #2  
Antiguo 12-12-2007
Avatar de Héctor Randolph
[Héctor Randolph] Héctor Randolph is offline
Miembro Premium
 
Registrado: dic 2004
Posts: 882
Reputación: 20
Héctor Randolph Va por buen camino
Hola saltamirano

Código SQL [-]
  NEW.USU_COD = GEN_ID(,1);

Seguramente el error se presenta en ésta línea, la función GEN_ID, recibe dos parámetros, uno es el nombre del generador y el otro es el incremento.

Saludos
Responder Con Cita