Ver Mensaje Individual
  #5 (permalink)  
Antiguo 22/02/2008, 09:11
MASP
 
Fecha de Ingreso: febrero-2008
Mensajes: 26
Antigüedad: 17 años, 2 meses
Puntos: 1
Información Re: Estructura De Un Trigger En Sql Server 2000

gracias
AHORA MI ERROR ES ESTE Server: Msg 128, Level 15, State 1, Procedure CONTROL, Line 8
The name 'AUT_CODI' is not permitted in this context. Only constants, expressions, or variables allowed here. Column names are not permitted.


CREATE TRIGGER CONTROL
ON
ATM_PERM
AFTER INSERT
AS
Begin
INSERT INTO ATM_PERM_CONTROL(AUT_CODI,AUT_FECI,AUT_FECT,AUT_MO TI)
VALUES (AUT_CODI,AUT_FECI,AUT_FECT,AUT_MOTI)
END