SQL Server: Statements vs. Batches vs. Transactions vs. Connections
Posted
by Sleepless
on Server Fault
See other posts from Server Fault
or by Sleepless
Published on 2010-03-30T07:30:30Z
Indexed on
2010/03/30
7:33 UTC
Read the original article
Hit count: 309
sql-server
|misconceptions
My question is simple: What are the differences / similarities / cardinalities between
- Transactions
- Batches
- Connections and
- Statements
in SQL Server?
As far as I understand a connection is a single communications channel between a SQL Server instance and a client within which collections of statements grouped as batches are executed. A batch is either implicitly or explicitly mapped to one or several transactions. Is this correct?
© Server Fault or respective owner