Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best practice
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01077502
Message ID:
01077505
Views:
40
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
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform