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

necesito insertar unos campos en atm_perm_control despues que se inserta en atm_perm
ise este trigger
y tene un eroor cual es no lo se.
por favor si alguien me ayuda se lo agradeceria
este es el Error

Server: Msg 170, Level 15, State 1, Procedure CONTROL, Line 7
Line 7: Incorrect syntax near '('.

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