<?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>article Qlik Replicate: When are DDL changes needed on an SQL Server source? in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-When-are-DDL-changes-needed-on-an-SQL-Server/ta-p/2538829</link>
    <description>&lt;P&gt;This article outlines how to handle DDL changes on a SQL Server table as part of the publication.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;The steps in this article assume you use the task's default settings: full load and apply changes are enabled, full load is set to drop and recreate target tables, and DDL Handling Policy is set to apply alter statements to the target.&lt;/P&gt;
&lt;P&gt;To achieve something simple, such as increasing the length of a column (without changing the data type), run an &lt;CODE&gt;ALTER TABLE&lt;/CODE&gt; command on the source while the task is running, and it will be pushed to the target.&lt;/P&gt;
&lt;P&gt;For example:&amp;nbsp;&lt;CODE&gt;alter table dbo.address alter column city varchar(70)&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;To make more complicated changes to the table, such as:&amp;nbsp;&lt;/P&gt;
&lt;UL style="list-style-type: circle;"&gt;
&lt;LI&gt;Changing the Allow Nulls setting for a column&lt;/LI&gt;
&lt;LI&gt;Reordering columns in the table&lt;/LI&gt;
&lt;LI&gt;Changing the column data type&lt;/LI&gt;
&lt;LI&gt;Adding a new column&lt;/LI&gt;
&lt;LI&gt;Changing the filegroup of a table or its text/image data&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Follow&amp;nbsp;this procedure:&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the task&lt;/LI&gt;
&lt;LI&gt;Remove the table from the task&lt;/LI&gt;
&lt;LI&gt;Remove the table from the publication. &lt;BR /&gt;Some changes do not require this, and some do. Removing it from the publication will work in all cases.&amp;nbsp;
&lt;OL&gt;
&lt;LI&gt;Right-click the publication (starts with AR_) and select &lt;STRONG&gt;Properties&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Click to select the &lt;STRONG&gt;Articles &lt;/STRONG&gt;tab&lt;/LI&gt;
&lt;LI&gt;Uncheck the box next to the table and click &lt;STRONG&gt;OK&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Copy all the data to a temp table&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Recreate the table with the needed modifications&lt;/LI&gt;
&lt;LI&gt;Copy the data back into the table&lt;/LI&gt;
&lt;LI&gt;Add the table back to the task and resume. This will automatically add the table back to the publication and reload the table on the target. Reference:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/troubleshoot/sql/ssms/error-when-you-save-table" target="_blank" rel="noopener"&gt;Saving changes is not permitted error message in SSMS&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Replicate&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 10 Dec 2025 12:50:48 GMT</pubDate>
    <dc:creator>Dana_Baldwin</dc:creator>
    <dc:date>2025-12-10T12:50:48Z</dc:date>
    <item>
      <title>Qlik Replicate: When are DDL changes needed on an SQL Server source?</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-When-are-DDL-changes-needed-on-an-SQL-Server/ta-p/2538829</link>
      <description>&lt;P&gt;This article outlines how to handle DDL changes on a SQL Server table as part of the publication.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;The steps in this article assume you use the task's default settings: full load and apply changes are enabled, full load is set to drop and recreate target tables, and DDL Handling Policy is set to apply alter statements to the target.&lt;/P&gt;
&lt;P&gt;To achieve something simple, such as increasing the length of a column (without changing the data type), run an &lt;CODE&gt;ALTER TABLE&lt;/CODE&gt; command on the source while the task is running, and it will be pushed to the target.&lt;/P&gt;
&lt;P&gt;For example:&amp;nbsp;&lt;CODE&gt;alter table dbo.address alter column city varchar(70)&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;To make more complicated changes to the table, such as:&amp;nbsp;&lt;/P&gt;
&lt;UL style="list-style-type: circle;"&gt;
&lt;LI&gt;Changing the Allow Nulls setting for a column&lt;/LI&gt;
&lt;LI&gt;Reordering columns in the table&lt;/LI&gt;
&lt;LI&gt;Changing the column data type&lt;/LI&gt;
&lt;LI&gt;Adding a new column&lt;/LI&gt;
&lt;LI&gt;Changing the filegroup of a table or its text/image data&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Follow&amp;nbsp;this procedure:&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Stop the task&lt;/LI&gt;
&lt;LI&gt;Remove the table from the task&lt;/LI&gt;
&lt;LI&gt;Remove the table from the publication. &lt;BR /&gt;Some changes do not require this, and some do. Removing it from the publication will work in all cases.&amp;nbsp;
&lt;OL&gt;
&lt;LI&gt;Right-click the publication (starts with AR_) and select &lt;STRONG&gt;Properties&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Click to select the &lt;STRONG&gt;Articles &lt;/STRONG&gt;tab&lt;/LI&gt;
&lt;LI&gt;Uncheck the box next to the table and click &lt;STRONG&gt;OK&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Copy all the data to a temp table&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;Recreate the table with the needed modifications&lt;/LI&gt;
&lt;LI&gt;Copy the data back into the table&lt;/LI&gt;
&lt;LI&gt;Add the table back to the task and resume. This will automatically add the table back to the publication and reload the table on the target. Reference:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/troubleshoot/sql/ssms/error-when-you-save-table" target="_blank" rel="noopener"&gt;Saving changes is not permitted error message in SSMS&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Replicate&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 10 Dec 2025 12:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-When-are-DDL-changes-needed-on-an-SQL-Server/ta-p/2538829</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2025-12-10T12:50:48Z</dc:date>
    </item>
  </channel>
</rss>

