![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
#5
|
|||
|
|||
|
Interbase
MIRA LO HICE, PERO CUANDO ESTOY EN EL MISMO INTERBASE E INSERTO UN DATO EN LA TABLA ALUMNO, ESTE NO ME COMPLETA EL CAMPO ID CON LA SECUENCIA SIGUIENTE.
AL FINAL EL CODIGO QUE ME ENVIASTE PUDE EJECUTARLO PERO DE LA SIGUEINTE MANERA. COMO QUE DO. create trigger AlumnoAutoId for Alumno before Insert position 0 as begin if (New.Id = Null) then New.Id = gen_id(Gen_Alumno_Id, 1); end EL QUE ME ENVIASTE. set term ; ^ create trigger AlumnoAutoId for table Alumno before Insert position 0 as begin if (New.Id = Null) then New.Id = gen_id(Gen_Alumno_Id, 1); end^ set term ^ ; |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Necesito interbase para un programa con interbase | David | Conexión con bases de datos | 2 | 20-04-2006 00:23:55 |
| Una de Interbase | Rabata | SQL | 4 | 12-02-2004 16:46:13 |
| generador de informes interbase,interbase IBO | tks1974 | Impresión | 0 | 23-12-2003 08:32:17 |
| Se puede interbase sin interbase????? | sercornejov | Firebird e Interbase | 11 | 29-08-2003 11:32:59 |
| Paradox e Interbase, como hago para transportar todo lo de paradox a Interbase | Fatima Gonzalez | Firebird e Interbase | 2 | 05-05-2003 18:02:30 |
|