Skip to content

Conversation

@fresioAS
Copy link
Contributor

@fresioAS fresioAS commented Oct 8, 2025

Fix for issue described in #5399 - ALTER TABLE ALTER COLUMN is not supported for Fabric Warehouse

  1. Add new empty column
  2. Copy data from old column to new column
  3. Drop old column
  4. Rename new column to old column name

@fresioAS fresioAS changed the title fix(fabric): Alter table no op fix(fabric): Alter table workaround Oct 23, 2025
@fresioAS fresioAS marked this pull request as ready for review October 23, 2025 18:39
@fresioAS
Copy link
Contributor Author

@treysp @izeigerman @erindru
Any comments to this PR? Not ideal since it changes the order of the columns, but 100% better than crashing out with
Error:('42000', '[42000] [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]The specified ALTER TABLE statement is not supported in this edition of SQL Server. (24585) (SQLExecDirectW)')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant