Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
T-SQL Newbie creating trigger
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
01031991
Message ID:
01032015
Vues:
17
>If I understand correctly, SQL Server will delete the row before updating it?

No but it will put the row(s) before update in the DELETED table. IIRC in older versions UPDATE was done by deleting old record and inserting updated one. I think SQL 2000 can be configured to do that but by default it just updates record(s).

>Also, There is no BEFORE UPDATE trigger ?

No. There're only AFTER and INSTEAD triggers in SQL Server.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform