Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best practice
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01077502
Message ID:
01077506
Vues:
33
Gary,
That is what I thought. Thank you for confirming it.

Einar

>Einar
>
>In SQL server, a single statement is "contained" in/by an implicit transaction.
>
>>Is it considdered good practice to wrap even singe statements in a transaction. Something like this:
>>
>>BEGIN TRANSACTION
>>UPDATE mytable SET Name = @Name WHERE Id = @Id
>>END TRANSACTION
>>
>>RETURN @@ERROR
>>
>>
>>Or is the transaction simply redundant?
>>
>>Einar
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform