<?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 Lakehouse federation for SQL server: database name with spaces in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118088#M45602</link>
    <description>&lt;P&gt;We're currently using lakehouse federation for various sources (Snowflake, SQL Server); usually succesful. However we've encountered a case where one of the databases on the SQL Server has spaces in its name, e.g. 'My Database Name'. We've tried various escaping attempts:&lt;/P&gt;&lt;P&gt;- My Database Name&lt;BR /&gt;- 'My Database Name'&lt;BR /&gt;- "My Database Name"&lt;BR /&gt;- [My Database Name]&lt;BR /&gt;- '[My Database Name]'&lt;BR /&gt;- "[My Database Name]"&lt;BR /&gt;- `My Database Name`&lt;BR /&gt;- My\ Database\ Name&lt;/P&gt;&lt;P&gt;All efforts give an error, mostly [DATA_SOURCE_OPTION_CONTAINS_INVALID_CHARACTERS].&lt;/P&gt;&lt;P&gt;Connectivity has been validated from the cluster used. Database can be connected to through other means, including the MSSQL JDBC driver via a Databricks notebook.&lt;/P&gt;&lt;P&gt;I cannot find anything about whether spaces in database names are supported for SQL Server federation. Anyone with experience on this end?&lt;/P&gt;</description>
    <pubDate>Wed, 07 May 2025 08:58:47 GMT</pubDate>
    <dc:creator>MaartenH</dc:creator>
    <dc:date>2025-05-07T08:58:47Z</dc:date>
    <item>
      <title>Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118088#M45602</link>
      <description>&lt;P&gt;We're currently using lakehouse federation for various sources (Snowflake, SQL Server); usually succesful. However we've encountered a case where one of the databases on the SQL Server has spaces in its name, e.g. 'My Database Name'. We've tried various escaping attempts:&lt;/P&gt;&lt;P&gt;- My Database Name&lt;BR /&gt;- 'My Database Name'&lt;BR /&gt;- "My Database Name"&lt;BR /&gt;- [My Database Name]&lt;BR /&gt;- '[My Database Name]'&lt;BR /&gt;- "[My Database Name]"&lt;BR /&gt;- `My Database Name`&lt;BR /&gt;- My\ Database\ Name&lt;/P&gt;&lt;P&gt;All efforts give an error, mostly [DATA_SOURCE_OPTION_CONTAINS_INVALID_CHARACTERS].&lt;/P&gt;&lt;P&gt;Connectivity has been validated from the cluster used. Database can be connected to through other means, including the MSSQL JDBC driver via a Databricks notebook.&lt;/P&gt;&lt;P&gt;I cannot find anything about whether spaces in database names are supported for SQL Server federation. Anyone with experience on this end?&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 08:58:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118088#M45602</guid>
      <dc:creator>MaartenH</dc:creator>
      <dc:date>2025-05-07T08:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118132#M45607</link>
      <description>&lt;P&gt;Let me dig in and see if I can find anything for you on this.&lt;/P&gt;
&lt;P&gt;Cheers, BigRoux.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 11:25:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118132#M45607</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-05-07T11:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118140#M45611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/163601"&gt;@MaartenH&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try creating the foreign catalog like this?&lt;/P&gt;&lt;P&gt;CREATE FOREIGN CATALOG your_catalog_name USING CONNECTION your_connection_name&lt;BR /&gt;OPTIONS (&lt;BR /&gt;&amp;nbsp; &amp;nbsp;database '[My Database Name]'&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;(Do check that the Foreign catalog name must follow Unity Catalog rules: no spaces/special characters)&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 11:44:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118140#M45611</guid>
      <dc:creator>SP_6721</dc:creator>
      <dc:date>2025-05-07T11:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118163#M45616</link>
      <description>&lt;P&gt;Forgot to mention that we tried that as well. It creates the catalog (which you can do through the UI as well) but gives the same error when trying to query the catalog.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 12:52:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118163#M45616</guid>
      <dc:creator>MaartenH</dc:creator>
      <dc:date>2025-05-07T12:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118306#M45626</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/163601"&gt;@MaartenH&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;In Catalog and Schema names having space is not allowed by default while creation, even if notated with backsticks(``). Current best possibility is to rename the schema with only allowed values which you can find here for best practices of using names in catalog and schema creation:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-names" target="_blank"&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-names&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please let us know if any additional guidance is required.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Nivethan V&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 18:31:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118306#M45626</guid>
      <dc:creator>Nivethan</dc:creator>
      <dc:date>2025-05-07T18:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118381#M45635</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/85102"&gt;@Nivethan&lt;/a&gt;I believe that is mostly in respect to the naming convention for Unity Catalog items themselves. The&amp;nbsp; names we use for UC items are entirely composed of lowercase letters and underscores in our setup. The database name with spaces in this case, is a source system. We have no control over the naming scheme of that database and it shouldn't matter as a regular JDBC connection works fine within Databricks. So I think you're mixing up two different things in your answer.&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 05:52:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/118381#M45635</guid>
      <dc:creator>MaartenH</dc:creator>
      <dc:date>2025-05-08T05:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/119704#M45952</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/34815"&gt;@Louis_Frolio&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Did you manage to find any additional information on the subject?&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 08:23:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/119704#M45952</guid>
      <dc:creator>MaartenH</dc:creator>
      <dc:date>2025-05-20T08:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/121347#M46428</link>
      <description>&lt;P&gt;I am having the similar issue where table name is having spaces and I cannot see those tables in the foreign catalog.schema in databricks. It seems that the Lakehouse Federation not supporting spaces in database name and table name, however col name with spaces are coming in smoothly.&lt;/P&gt;&lt;P&gt;Any solution to this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 14:51:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/121347#M46428</guid>
      <dc:creator>SAKBAR</dc:creator>
      <dc:date>2025-06-10T14:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/121441#M46449</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/34815"&gt;@Louis_Frolio&lt;/a&gt;&amp;nbsp;Did you managed to find anything in your excavation efforts?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 07:23:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/121441#M46449</guid>
      <dc:creator>MaartenH</dc:creator>
      <dc:date>2025-06-11T07:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/121472#M46461</link>
      <description>&lt;P&gt;I have not.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 14:16:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/121472#M46461</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-06-11T14:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/150498#M53438</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am having the similar issue where source DWH database name is having spaces and I get an error when querying via foreign catalog in databricks. It seems that the Lakehouse Federation not supporting spaces in database name&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any recent updates on this??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2026 15:17:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/150498#M53438</guid>
      <dc:creator>Data_Maverick</dc:creator>
      <dc:date>2026-03-10T15:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/152697#M53859</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;We have a good amount of tables from an external ERP system that are being replicated to an existing dwh in an Azure SQL Server database.&lt;/P&gt;&lt;P&gt;We have set up a foreign connection for this database and we can connect to the server and database. Sadly, since almost all tables have a name like "dbo_Work Item$8f4cc4bc-7cd3-40df-8b85-d67139d9b4fd", these tables are not shown in Unity Catalog.&lt;/P&gt;&lt;P&gt;If I use a jdbc driver from e.g., DBeaver and connect using the same sql server user (login), I have no issue correctly seeing these tables. I assume that the tables are also correctly read by Databricks internally, but that the maybe the limitations in Unity Catalog (no spaces in object names:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-names" target="_blank"&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-names&lt;/A&gt;) breaks the usability of "foreign" functionality.&lt;/P&gt;&lt;P&gt;Can someone from Databricks please reach out here and give some indication of:&lt;/P&gt;&lt;P&gt;- Whether this is the intended functionality (I think this should, at a minimum, be indicated somewhere like here: &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/query-federation/sql-server" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/query-federation/sql-server&lt;/A&gt;)?&lt;/P&gt;&lt;P&gt;- Whether this is being worked on or if it will not be fixed.&lt;/P&gt;&lt;P&gt;- If there are known workarounds.&lt;/P&gt;&lt;P&gt;Foreign connections are great for performing migrations to Databricks, but at the current point in time, the lacking functionality is also a big limitation.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 10:43:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/152697#M53859</guid>
      <dc:creator>QueryingQuail</dc:creator>
      <dc:date>2026-03-31T10:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lakehouse federation for SQL server: database name with spaces</title>
      <link>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/153102#M53942</link>
      <description>&lt;P class="first:mt-0 last:mb-0"&gt;&lt;SPAN&gt;space in object name in UC is not supported. &lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-names" target="_blank"&gt;&lt;SPAN&gt;https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-names&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; are you able to create view and federate that?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="first:mt-0 last:mb-0"&gt;&lt;SPAN&gt;example:&amp;nbsp;&amp;nbsp;CREATE VIEW JetAccounts AS SELECT * FROM [Jet Accounts]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;other workaround, use &lt;/SPAN&gt;&lt;CODE spellcheck="false"&gt;&lt;SPAN class="code"&gt;spark.read.format(“jdbc”).option(…)&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 20:57:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/lakehouse-federation-for-sql-server-database-name-with-spaces/m-p/153102#M53942</guid>
      <dc:creator>RamGoli</dc:creator>
      <dc:date>2026-04-02T20:57:22Z</dc:date>
    </item>
  </channel>
</rss>

