|
Hi i'm tring to execute an Insert and in a Trigger but it didn't work. Somebody can tell me why. Thanks This is the code : INSERT into DBName..TableName(Field1, Field2) SELECT i.Field1, Field2 From inserted i INSERT into DBName..TableName(Field1) SELECT Field1 DBName..TableName WHERE Field1 NOT IN (SELECT Field FROM DBName..TableName) (The second INSERT it is not execute)
(comments are locked)
|
|
Your second insert is missing the FROM keyword.
(comments are locked)
|

