<?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: Cross-Database Queries Don't Work As Documented in SQL database</title>
    <link>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4772934#M413</link>
    <description>&lt;P&gt;Cross-database queries in Microsoft Fabric SQL Database only work via the &lt;STRONG&gt;SQL Analytics Endpoint and within the same workspace&lt;/STRONG&gt;, using three-part names (e.g., &lt;U&gt;Database.Schema.Table&lt;/U&gt;). They do not work when connecting directly to an individual SQL database, which causes the errors you see. No special configuration or regional setting is required make sure you're querying from the SQL Analytics Endpoint, and all referenced databases/warehouses are in the same workspace.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2025 03:46:44 GMT</pubDate>
    <dc:creator>Adityakumar</dc:creator>
    <dc:date>2025-07-23T03:46:44Z</dc:date>
    <item>
      <title>Cross-Database Queries Don't Work As Documented</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4759329#M400</link>
      <description>&lt;P&gt;The Microsoft documents at these two links both indicate that cross-database queries should be supported by the Fabric SQL Database Preview, through 3-part identifiers. However when I try this in practice, I get an error message, both when opening the database directly and querying there, and also when trying it through the SQL Analytics Endpoint as suggested in the 2nd link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/database/sql/overview#cross-database-queries" target="_blank" rel="noopener"&gt;SQL database Overview (Preview) - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/database/sql/feature-comparison-sql-database-fabric" target="_blank" rel="noopener"&gt;Features comparison: Azure SQL Database and SQL database (preview) - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The errors I get from each query access method are:&lt;/P&gt;&lt;P&gt;"Reference to database and/or server name in X is not supported in this version of SQL Server"&lt;BR /&gt;"Invalid object name X"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some configuration that needs to be set, or is this feature not available in all Fabric regions? I know cross-database queries have not been supported in the past, but these documents indicate that it should be supported at present.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 19:45:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4759329#M400</guid>
      <dc:creator>KyleChamberlin</dc:creator>
      <dc:date>2025-07-10T19:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-Database Queries Don't Work As Documented</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4759679#M401</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1306718" data-lia-user-login="KyleChamberlin" class="lia-mention lia-mention-user"&gt;KyleChamberlin&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for raising this question and providing the helpful documentation references.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You are correct that both the Fabric SQL Database (Preview) overview and the feature comparison articles indicate support for cross-database queries using 3-part identifiers.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;However, based on current behaviour and internal updates, this functionality is not yet fully supported in the current Fabric SQL database engine, despite what the documentation implies. The error messages you are receiving:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Reference to database and/or server name in X is not supported in this version of SQL Server&lt;/LI&gt;
&lt;LI&gt;Invalid object name X&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;are consistent with limitations seen when attempting unsupported cross-database references.&lt;/P&gt;
&lt;P&gt;Workaround (If applicable): If cross-database data access is required, you can consider:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Duplicating required tables in the current database.&lt;/LI&gt;
&lt;LI&gt;Or using Lakehouse’s with Direct Lake mode to query across datasets within the same workspace context.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;We suggest submitting this as feedback directly on the documentation page or through the Microsoft Fabric Ideas portal, so the team can clarify documentation or update roadmap support for this feature: &lt;A href="https://ideas.fabric.microsoft.com/" target="_blank"&gt;Microsoft Fabric Ideas&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.&lt;BR /&gt;&lt;BR /&gt;Thank you for using the Microsoft Community Forum.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 06:49:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4759679#M401</guid>
      <dc:creator>v-kpoloju-msft</dc:creator>
      <dc:date>2025-07-11T06:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-Database Queries Don't Work As Documented</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4759880#M402</link>
      <description>&lt;P&gt;Cross Database queries do work but only between SQL analytics end point only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DB1 :&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DB 2 :&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So cross DB queries does work between SQL DB SQL analytics end point&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 09:12:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4759880#M402</guid>
      <dc:creator>NandanHegde</dc:creator>
      <dc:date>2025-07-11T09:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-Database Queries Don't Work As Documented</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4760299#M404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1306718" data-lia-user-login="KyleChamberlin" class="lia-mention lia-mention-user"&gt;KyleChamberlin&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226550" data-lia-user-login="NandanHegde" class="lia-mention lia-mention-user"&gt;NandanHegde&lt;/a&gt;&amp;nbsp; is correct, you can use the SQL Analytics endpoint to cross-query the 2 databases as an option. SQL Analytics endpoint reflect the replicated/mirrored data from SQL operational/transactional data in OneLake which is stored in delta-parquet format and is read-only. We have received feedback and is in our backlog to assess and evaluate cross-database query using SQL operational endpoint that points to the underlying transactional database from the Fabric database query editor&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 16:36:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4760299#M404</guid>
      <dc:creator>idrismotiwala</dc:creator>
      <dc:date>2025-07-11T16:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-Database Queries Don't Work As Documented</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4761819#M407</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1306718" data-lia-user-login="KyleChamberlin" class="lia-mention lia-mention-user"&gt;KyleChamberlin&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Just checking in to see if the issue has been resolved on your end. If the earlier suggestions helped, that’s great to hear! And if you’re still facing challenges, feel free to share more details happy to assist further.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 09:51:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4761819#M407</guid>
      <dc:creator>v-kpoloju-msft</dc:creator>
      <dc:date>2025-07-14T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cross-Database Queries Don't Work As Documented</title>
      <link>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4772934#M413</link>
      <description>&lt;P&gt;Cross-database queries in Microsoft Fabric SQL Database only work via the &lt;STRONG&gt;SQL Analytics Endpoint and within the same workspace&lt;/STRONG&gt;, using three-part names (e.g., &lt;U&gt;Database.Schema.Table&lt;/U&gt;). They do not work when connecting directly to an individual SQL database, which causes the errors you see. No special configuration or regional setting is required make sure you're querying from the SQL Analytics Endpoint, and all referenced databases/warehouses are in the same workspace.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 03:46:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/SQL-database/Cross-Database-Queries-Don-t-Work-As-Documented/m-p/4772934#M413</guid>
      <dc:creator>Adityakumar</dc:creator>
      <dc:date>2025-07-23T03:46:44Z</dc:date>
    </item>
  </channel>
</rss>

