diff --git a/dbt/include/sqlserver/macros/materializations/models/table/create_table_as.sql b/dbt/include/sqlserver/macros/materializations/models/table/create_table_as.sql index d8365717..adb420ba 100644 --- a/dbt/include/sqlserver/macros/materializations/models/table/create_table_as.sql +++ b/dbt/include/sqlserver/macros/materializations/models/table/create_table_as.sql @@ -9,7 +9,6 @@ SQL Server doesnt support this, so we use the 'SELECT * INTO XYZ FROM ABC' synta path={"identifier": relation.identifier.replace("#", "") ~ '_temp_view'}, type='view')-%} {% do run_query(fabric__drop_relation_script(tmp_relation)) %} - {% do run_query(fabric__drop_relation_script(relation)) %} {% set contract_config = config.get('contract') %}