<?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: Coping data from  [Warehouse_Live].[sys].[tables] in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Coping-data-from-Warehouse-Live-sys-tables/m-p/4817497#M3673</link>
    <description>&lt;P&gt;OMG, thank you. you have saved me so much time trying various work arounds in notebooks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This work fine for what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Sep 2025 00:52:35 GMT</pubDate>
    <dc:creator>Byzza</dc:creator>
    <dc:date>2025-09-05T00:52:35Z</dc:date>
    <item>
      <title>Coping data from  [Warehouse_Live].[sys].[tables]</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Coping-data-from-Warehouse-Live-sys-tables/m-p/4816217#M3661</link>
      <description>&lt;P&gt;Hi Brains Trust,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get a list of all the warehouse tables and put them in a table that I can do some reporting on, but I keep running into the error&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;The query references an object that is not supported in distributed processing mode.
Msg 15816, Level 16, State 3, Code line: 28&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My latest version of the code is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CREATE TABLE #TempSysTables (
    name VARCHAR(128)  COLLATE Latin1_General_100_BIN2_UTF8 NULL,
    create_date DATETIME2(6)  NULL,
    modify_date DATETIME2(6)  NULL
)

INSERT INTO #TempSysTables 
SELECT
    CAST(T1.name AS VARCHAR(128))      AS name,
    CAST(T1.create_date AS DATETIME2(6)) AS create_date,
    CAST(T1.modify_date AS DATETIME2(6)) AS modify_date
FROM [Warehouse_Live].[sys].[tables] T1
WHERE type = 'U'
--ORDER BY name

SELECT * FROM #TempSysTables Order by create_date

--SELECT * 
--FROM [Warehouse_Live].[dbo].[WarehouseLiveTables] T0
 --FULL JOIN #TempSysTables T1 ON T0.Name = T1.name 
--WHERE 1=1
    -- and type = 'U'
    --AND T0.Name is NULL
--ORDER BY name

INSERT INTO [Warehouse_Live].[dbo].[WarehouseLiveTables] (Name)
SELECT name 
FROM #TempSysTables T1
  LEFT JOIN [Warehouse_Live].[dbo].[WarehouseLiveTables] T0 ON T0.Name = T1.name &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help would be greatly Appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 03:35:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Coping-data-from-Warehouse-Live-sys-tables/m-p/4816217#M3661</guid>
      <dc:creator>Byzza</dc:creator>
      <dc:date>2025-09-04T03:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Coping data from  [Warehouse_Live].[sys].[tables]</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Coping-data-from-Warehouse-Live-sys-tables/m-p/4816682#M3663</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1271903" data-lia-user-login="Byzza" class="lia-mention lia-mention-user"&gt;Byzza&lt;/a&gt;&amp;nbsp;this is a know issue (&lt;A href="https://sqlkover.com/system-views-in-microsoft-fabric-query-references-an-object-that-is-not-supported-in-distributed-processing-mode/" target="_blank"&gt;System Views in Microsoft Fabric – Query references an object that is not supported in distributed processing mode | Under the kover of business intelligence&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the meantime you could use a pipeline to extract any sys data you need, load into tables in the warehouse and do what you need to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;If this reply has helped, please consider giving kudos&lt;/P&gt;
&lt;P&gt;and marking the reply as the answer to help other&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 09:55:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Coping-data-from-Warehouse-Live-sys-tables/m-p/4816682#M3663</guid>
      <dc:creator>AndyDDC</dc:creator>
      <dc:date>2025-09-04T09:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Coping data from  [Warehouse_Live].[sys].[tables]</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Coping-data-from-Warehouse-Live-sys-tables/m-p/4816894#M3668</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1271903" data-lia-user-login="Byzza" class="lia-mention lia-mention-user"&gt;Byzza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I can confirm what&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="265587" data-lia-user-login="AndyDDC" class="lia-mention lia-mention-user"&gt;AndyDDC&lt;/a&gt;&amp;nbsp; says.&lt;/P&gt;&lt;P&gt;The only workaround is to use a pipeline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 12:29:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Coping-data-from-Warehouse-Live-sys-tables/m-p/4816894#M3668</guid>
      <dc:creator>spaceman127</dc:creator>
      <dc:date>2025-09-04T12:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Coping data from  [Warehouse_Live].[sys].[tables]</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Coping-data-from-Warehouse-Live-sys-tables/m-p/4817497#M3673</link>
      <description>&lt;P&gt;OMG, thank you. you have saved me so much time trying various work arounds in notebooks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This work fine for what I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 00:52:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Coping-data-from-Warehouse-Live-sys-tables/m-p/4817497#M3673</guid>
      <dc:creator>Byzza</dc:creator>
      <dc:date>2025-09-05T00:52:35Z</dc:date>
    </item>
  </channel>
</rss>

