Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert Trigger to insert record in another table.
Message
De
10/07/2003 12:29:50
 
 
À
25/06/2003 14:16:48
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00803916
Message ID:
00808901
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
I think it would be something like this ...

CREATE TRIGGER InsertRec ON A
AFTER INSERT
AS
insert into X (Col1,Col2)
select A.Col1, B.Col2 from inserted A INNER JOIN TableB B

Hope this helps.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform