Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy Text fields from within Trigger
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00194175
Message ID:
00194401
Vues:
21
>Specifically what I am trying to do is in the delete trigger of a
>particular table copy some of the data to another table for archiving

Does it work using something like this:

INSERT INTO save_table (col1, col2)
SELECT column1, column1 FROM deleted

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform