ADS - Add columns in the middle of a table

GP-2266 31 Reputation points


When using ADS table designer to add columns in the middle of the table, the script which is generated contains DDL statements inside a transaction.

Since DDL statements in Synapse are not allowed, has anyone gotten this to work properly? I can remove the begin tran statements manually but there is a lot of them and having to do so is quite annoying.

Looks like this was logged as an issue:

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,553 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. BhargavaGunnam-MSFT 28,111 Reputation points Microsoft Employee

    Hello @GP-2266 ,

    Welcome to the MS Q&A platform.

    Currently, in Synapse, there is no support for DDL such as CREATE TABLE inside a user-defined transaction. But the Product team acknowledged and this is currently on our backlog.

    Here is the feedback request.

    Appreciate if you could upvote and comment on this feedback. All the feedback shared in this forum is actively monitored and reviewed by the product team which will prioritize them accordingly based on the number of requests.
    Hope this info helps.

    1 person found this answer helpful.