SQL Flow Field Guide

SET IMPLICIT_TRANSACTIONS

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

statements open a transaction automatically; requires COMMIT

What changes

Input
none
Output or change
session state

Syntax at a glance

SET IMPLICIT_TRANSACTIONS { ON | OFF }

Work example

A session workflow needs the specific behavior of SET IMPLICIT_TRANSACTIONS for a bounded operation.

Record the starting session state, set the option only for the operation, and restore the documented default before returning a pooled connection.

Check your work SET IMPLICIT_TRANSACTIONS. The operation follows the intended SET IMPLICIT_TRANSACTIONS behavior and the next task sees the expected session state.

Open Microsoft Learn for full syntax, permissions, and details for your version.