<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ALTER TABLE DW in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4119386#M1498</link>
    <description>&lt;P&gt;At the moment you would need to write the new table out and delete the old table. &amp;nbsp;I do this by writing the new table and then using sp_rename to switch the names of the table. &amp;nbsp;As I said, MS are working from the OSS Delta specification and there is no word yet on when the delta "column mapping" feature will be implemented. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If this feature is on the roadmap then it'll appear here&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-gb/fabric/release-plan/data-warehouse" target="_blank"&gt;https://learn.microsoft.com/en-gb/fabric/release-plan/data-warehouse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If my answer has been useful please provide kudos and mark as the solution.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Aug 2024 20:35:02 GMT</pubDate>
    <dc:creator>AndyDDC</dc:creator>
    <dc:date>2024-08-26T20:35:02Z</dc:date>
    <item>
      <title>ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4118949#M1494</link>
      <description>&lt;P&gt;I have been trying to use ALTER Table Alter Column on a data warehouse table but it does not sem to be supported.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a table that has a column a column [row_sum] [bigint] NULL&lt;/P&gt;
&lt;P&gt;I want to change it to [row_sum] DECIMAL(38,6) NULL and add a new column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I am not being able to do that&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is extremely frustrating, what does MS suggest the BI author should in such case, DELETE the whole table and start from scratch?&lt;/P&gt;
&lt;P&gt;Also, is ALTER Table be allowed in DW in future?&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 15:33:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4118949#M1494</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-08-26T15:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4119103#M1495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24978" data-lia-user-login="smpa01" class="lia-mention lia-mention-user"&gt;smpa01&lt;/a&gt;&amp;nbsp;currently you can only add new columns to an existing table. This is because MS are using an older version of the Delta Lake read/write protocol. &amp;nbsp;There's no info yet when further support for ALTER TABLE will be supported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have more info in this blog&amp;nbsp;&lt;A href="https://www.serverlesssql.com/the-reality-of-alter-table-in-fabric-warehouses-2/" target="_blank" rel="noopener"&gt;https://www.serverlesssql.com/the-reality-of-alter-table-in-fabric-warehouses-2/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 17:06:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4119103#M1495</guid>
      <dc:creator>AndyDDC</dc:creator>
      <dc:date>2024-08-26T17:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4119133#M1496</link>
      <description>&lt;P&gt;This is simply not practical.&lt;/P&gt;
&lt;P&gt;MS must inform this community when can we expect this to happen?&lt;/P&gt;
&lt;P&gt;Till it happens what are the alternatives?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Theses gotchas keep on preventing any serious data-engineering in Fabric.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is simply not possible to simply DELETE a table with valuable data to alter a single column type, imagine the nightmare of the fabric developer if this sort of req keeps coming frequently from business every now and then. How do I deal with it in absence of ALTER?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 17:56:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4119133#M1496</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-08-26T17:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4119386#M1498</link>
      <description>&lt;P&gt;At the moment you would need to write the new table out and delete the old table. &amp;nbsp;I do this by writing the new table and then using sp_rename to switch the names of the table. &amp;nbsp;As I said, MS are working from the OSS Delta specification and there is no word yet on when the delta "column mapping" feature will be implemented. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If this feature is on the roadmap then it'll appear here&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-gb/fabric/release-plan/data-warehouse" target="_blank"&gt;https://learn.microsoft.com/en-gb/fabric/release-plan/data-warehouse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If my answer has been useful please provide kudos and mark as the solution.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 20:35:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4119386#M1498</guid>
      <dc:creator>AndyDDC</dc:creator>
      <dc:date>2024-08-26T20:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4120357#M1502</link>
      <description>&lt;P&gt;I created some ideas, please vote to highlight the need:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabric Warehouse - drop column&lt;/P&gt;&lt;P&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=f895cdc6-5164-ef11-a4e5-000d3ae625cf" target="_blank"&gt;https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=f895cdc6-5164-ef11-a4e5-000d3ae625cf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabric Warehouse - rename columns&lt;/P&gt;&lt;P&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=e0610603-5264-ef11-a4e5-000d3ae625cf" target="_blank"&gt;https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=e0610603-5264-ef11-a4e5-000d3ae625cf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabric Warehouse - Change column type&lt;/P&gt;&lt;P&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=82e8ca31-5264-ef11-a4e5-000d3ae625cf" target="_blank"&gt;https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=82e8ca31-5264-ef11-a4e5-000d3ae625cf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 08:56:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4120357#M1502</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-08-27T08:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4121450#M1511</link>
      <description>&lt;P&gt;Voted&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 20:08:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4121450#M1511</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2024-08-27T20:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4121481#M1513</link>
      <description>&lt;P&gt;As I've explained in this thread it's the "delta column mapping" feature, not individual functionality, that is missing.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 20:48:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4121481#M1513</guid>
      <dc:creator>AndyDDC</dc:creator>
      <dc:date>2024-08-27T20:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4128213#M1535</link>
      <description>&lt;P&gt;I've also voted for this Idea:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Support Name Column Mapping Mode in SQL Endpoints for Lakehouse&lt;/EM&gt;&lt;BR /&gt;&lt;A href="https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=a93f4fa7-8d03-ee11-a81c-000d3ae52c8f" target="_blank" rel="noopener"&gt;https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=a93f4fa7-8d03-ee11-a81c-000d3ae52c8f&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope many people will vote for this in order to highlight the need.&lt;/P&gt;&lt;P&gt;I hope it will be implemented both in SQL Analytics Endpoint and Data Warehouse.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An interesting blog article (&lt;EM&gt;the below is regarding Lakehouse, however I guess the same principles apply to Warehouse as well)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://delta.io/blog/2022-08-29-delta-lake-drop-column/" target="_blank" rel="noopener"&gt;https://delta.io/blog/2022-08-29-delta-lake-drop-column/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the &lt;EM&gt;"Delta Lake drop column additional considerations"&lt;/EM&gt; section of the article is especially interesting.&lt;/P&gt;&lt;P&gt;Word of caution regarding DROP column with delta column mapping enabled:&lt;/P&gt;&lt;P&gt;The data column doesn't get physically deleted. It just gets ignored in queries. So we still need to pay for storing that data. DROP column also would not satisfy regulatory requirements to physically delete the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The alternative is to overwrite the table with overwriteSchema and do vacuuming afterwards (or drop and recreate the table?). This is a more compute-costly alternative, but if the requirement is to physically delete the data then this seems to be the way to do it.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2024 08:50:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/4128213#M1535</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-09-01T08:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/5182163#M4538</link>
      <description>&lt;P&gt;I found this to solve the problem. Please note that the column data type I was trying to change was 'day'.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;-- 1. Add a new column with the correct data type&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ALTER&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt;&lt;SPAN&gt; Dim_Dates&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ADD&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;day_int &lt;/SPAN&gt;&lt;SPAN&gt;INT&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;-- 2. Copy data to the new column&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;UPDATE&lt;/SPAN&gt;&lt;SPAN&gt; Dim_Dates&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SET&lt;/SPAN&gt;&lt;SPAN&gt; day_int = &lt;/SPAN&gt;&lt;SPAN&gt;CAST&lt;/SPAN&gt;&lt;SPAN&gt;(day&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;AS&lt;/SPAN&gt; &lt;SPAN&gt;INT&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;-- 3. Delete original column&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ALTER&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt;&lt;SPAN&gt; Dim_Dates&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DROP&lt;/SPAN&gt; &lt;SPAN&gt;COLUMN&lt;/SPAN&gt;&lt;SPAN&gt; day&amp;nbsp;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;-- 4. Rename new column&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;EXEC&lt;/SPAN&gt;&lt;SPAN&gt; sp_rename &lt;/SPAN&gt;&lt;SPAN&gt;'Dim_Dates&amp;nbsp;.day_int'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'day'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'COLUMN'&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 May 2026 15:07:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/5182163#M4538</guid>
      <dc:creator>cgonzalesrod</dc:creator>
      <dc:date>2026-05-13T15:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/5285971#M4694</link>
      <description>&lt;P&gt;At the moment, this is a current limitation of Microsoft Fabric Data Warehouse.&lt;/P&gt;&lt;P&gt;ALTER TABLE ... ALTER COLUMN (such as changing a column's data type) is not supported in Fabric Warehouse. However, adding a new column using ALTER TABLE ... ADD is supported.&lt;/P&gt;&lt;P&gt;If you need to change a column's data type, the typical workaround is to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Create a new table with the desired schema.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Copy the data from the existing table (using CAST/CONVERT where necessary).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Validate the data.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Rename or replace the original table, if appropriate.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;While this isn't as convenient as a direct ALTER COLUMN, it's currently the recommended approach for schema changes that modify existing column definitions.&lt;/P&gt;&lt;P&gt;Microsoft has been steadily expanding the T-SQL surface area in Fabric Warehouse, so support for additional DDL operations may be added in future releases. It's worth keeping an eye on the release notes and Fabric roadmap for updates.&lt;/P&gt;&lt;P&gt;For more information:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Fabric Data Warehouse T-SQL surface area: &lt;A href="https://learn.microsoft.com/fabric/data-warehouse/tsql-surface-area" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/fabric/data-warehouse/tsql-surface-area&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Microsoft Fabric roadmap: &lt;A href="https://roadmap.fabric.microsoft.com/" target="_blank" rel="noopener"&gt;https://roadmap.fabric.microsoft.com/&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If this answers your question, please consider accepting it as the solution so it can help others facing the same limitation. If you found it helpful, a Kudos would also be appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jul 2026 09:55:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/5285971#M4694</guid>
      <dc:creator>Prince0011</dc:creator>
      <dc:date>2026-07-11T09:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: ALTER TABLE DW</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/5292218#M4701</link>
      <description>&lt;UL&gt;&lt;LI&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="24978" data-lia-user-login="smpa01" class="lia-mention lia-mention-user"&gt;smpa01&lt;/a&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;I understand the frustration. This is a known limitation in Fabric Data Warehouse as of today.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino"&gt;Root Cause&lt;/FONT&gt;&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabric DW is built on Synapse Dedicated SQL Pool architecture. In this engine, `ALTER TABLE ALTER COLUMN` is not supported. That’s why you are getting:&lt;/P&gt;&lt;P&gt;`Msg 2401, Level 16, State 2, Line 21 - The specified ALTER TABLE statement is not supported`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial black,avant garde"&gt;What IS supported vs NOT supported:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| Operation | Status in Fabric DW |&lt;/P&gt;&lt;P&gt;| --- | --- |&lt;/P&gt;&lt;P&gt;| `ALTER TABLE ADD COLUMN` | Supported |&lt;/P&gt;&lt;P&gt;| `ALTER TABLE DROP COLUMN` | Supported |&lt;/P&gt;&lt;P&gt;| `ALTER TABLE ALTER COLUMN` | Not Supported |&lt;/P&gt;&lt;P&gt;| `ALTER TABLE RENAME` | Not Supported |&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**Recommended Workaround - CTAS Pattern:**&lt;/P&gt;&lt;P&gt;Microsoft recommends using `CREATE TABLE AS SELECT` to change data types. Here is the full flow for your case:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;```sql&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial black,avant garde"&gt;Step 1: Create new table with updated schema&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE TABLE [dbo].[test_log_new]&lt;/P&gt;&lt;P&gt;WITH&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; DISTRIBUTION = ROUND_ROBIN,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; CLUSTERED COLUMNSTORE INDEX&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; CAST([row_sum] AS DECIMAL(38,6)) AS [row_sum], -- changed data type&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; [col2],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; [col3],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; CAST(NULL AS VARCHAR(50)) AS [ingestion_engine] -- new column added&lt;/P&gt;&lt;P&gt;FROM [dbo].[test_log];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial black,avant garde"&gt;Step 2: Validate data in new table&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT TOP 100 * FROM [dbo].[test_log_new];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="arial black,avant garde"&gt;Step 3: Swap tables&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE [dbo].[test_log];&lt;/P&gt;&lt;P&gt;EXEC sp_rename 'dbo.test_log_new', 'test_log';&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2026 04:47:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/ALTER-TABLE-DW/m-p/5292218#M4701</guid>
      <dc:creator>Gautam_Kumar01</dc:creator>
      <dc:date>2026-07-14T04:47:19Z</dc:date>
    </item>
  </channel>
</rss>

