---
title: MULTI_STATEMENT_TRANSACTION_NOT_SUPPORTED error condition
description: Documentation for the MULTI\_STATEMENT\_TRANSACTION\_NOT\_SUPPORTED error condition on Databricks
canonical_url: https://docs.databricks.com/gcp/en/error-messages/multi-statement-transaction-not-supported-error-class
---

# MULTI\_STATEMENT\_TRANSACTION\_NOT\_SUPPORTED error condition

[SQLSTATE: 0A000](https://docs.databricks.com/gcp/en/error-messages/sqlstates.md#class-0a-feature-not-supported)

Failed to execute the statement.

## ACCESS\_DELTA\_TABLE\_WITH\_RLS\_CM

Table `<tableName>` has row filters and/or column masks configured, which are not supported in a multi-statement transaction. You can run the statement outside of transaction block instead.

## CDF\_READ

Reading the change data feed from table `<tableName>` using `table_changes()` function is not supported. Please remove the table\_changes() usage and retry the transaction.

## COLUMN\_MAPPING\_MODE\_CHANGE\_IN\_CDF

Column mapping mode change detected on table `<tableName>`. Changing column mapping mode on tables with CDF enabled is not supported in a multi-statement transaction.

## COMMAND

Command `<command>` is not supported in a multi-statement transaction. Only `SELECT` / `INSERT` / `MERGE` / `UPDATE` / `DELETE` are supported.

## FGAC\_ON\_DEDICATED\_COMPUTE

Accessing table `<tableName>` with fine-grained access control on a dedicated compute cluster is not supported in a multi-statement transaction. If this transaction does not involve dynamic views, row filters, or column masks, you can retry with a standard compute cluster instead.

## ILLEGAL\_DATA\_SOURCE\_FOR\_NONTRANSACTIONAL\_READ

The data source `<name>` has format `<format>`, which is not allowed to be read nontransactionally in a multi-statement transaction. The allowed formats are: `<allowedFormats>`.

## ILLEGAL\_DATA\_SOURCE\_FOR\_TRANSACTIONAL\_READ

The data source `<name>` has format `<format>`, which cannot be read transactionally in a multi-statement transaction. If you want to read it nontransactionally instead, please specify explicitly by appending '`WITH (<optionKey>` = true)' to the data source name.

## ILLEGAL\_ENTITY\_ACCESS

The entity `<entityName>` of type `<entityType>` cannot be accessed in a multi-statement transaction.

## INFORMATION\_SCHEMA\_TABLE

Accessing tables from `INFORMATION_SCHEMA (<tableName>`) is not supported in a multi-statement transaction.

## INTERACTIVE\_TRANSACTION

Interactive multi-statement transactions are not supported in the current context. To execute multiple SQL statements atomically, please use SQL scripting syntax with `BEGIN `ATOMIC` ... END;` blocks.

## MAX\_INTERMEDIATE\_COMMITS\_EXCEEDED

You cannot perform more than `<maxCommits>` commits on table `<table>` in a single transaction.

## MAX\_TABLES\_ACCESSED\_EXCEEDED

You cannot access more than `<maxTables>` tables in a single transaction.

## MAX\_TABLES\_WRITTEN\_EXCEEDED

You cannot write to more than `<maxTables>` tables in a single transaction.

## MAX\_TRANSACTION\_DURATION\_EXCEEDED

Exceeded the maximum transaction duration of `<maxDurationMinutes>` minutes.

## NESTED\_TRANSACTION

Nested transactions are not supported.

## PATH\_BASED\_ACCESS

Accessing tables by path (`<path>`) is not allowed in a multi-statement transaction. Please use table names instead.

## PREVIEW\_NOT\_ENABLED

Multi-statement transactions are not enabled for this workspace. Please contact your Databricks support representative to enable this feature.

## SYSTEM\_TABLE

Accessing system table `<tableName>` is not supported in a multi-statement transaction.

## TIME\_TRAVEL\_QUERY

Time travel queries are not supported in a multi-statement transaction. Please remove the temporal specification when referring to table `<tableName>` and then retry the transaction.

## VIEW\_FROM\_DATA\_FRAME

Accessing view `<viewName>` is not supported in a multi-statement transaction because it was created using the DataFrame API. Please create the view using SQL instead.

## WRITE\_NON\_CATALOG\_OWNED\_TABLE

Table `<tableName>` does not have table feature '`<feature>`' enabled. Only tables with this feature enabled can be written to in a multi-statement transaction. Please enable this feature and then retry the transaction.

## WRITE\_NON\_DELTA\_TABLE

One of the tables that is being written to is not a Delta table. Only Delta tables can be written to in a multi-statement transaction.

## WRITE\_NON\_DELTA\_TABLE\_WITH\_NAME

Table `<tableName>` is not a Delta table. Only Delta tables can be written to in a multi-statement transaction.

## WRITE\_NON\_UC\_MANAGED\_TABLE

Table `<tableName>` is not UC-managed. Only UC-managed tables can be written in a multi-statement transaction.

## WRITE\_TABLE\_WITH\_CDF

Table `<tableName>` has Change Data Feed enabled. Writing to tables with this feature enabled is not supported in a multi-statement transaction.

## WRITE\_VIEW

Writing to view `<viewName>` is not supported in a multi-statement transaction. Please write directly to the underlying table instead.
