<?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 Unable to provide access in unity catalog using SQL commands in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/unable-to-provide-access-in-unity-catalog-using-sql-commands/m-p/68654#M7232</link>
    <description>&lt;P&gt;I am trying to provide access in unity catalog using the SQL commands.&lt;/P&gt;&lt;P&gt;I am following the below documentation:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/manage-privileges/" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/manage-privileges/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It suggests to create SQL commands in below format:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NarenderKumar_2-1715253228379.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7507i870C01F7F57E0B5E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="NarenderKumar_2-1715253228379.png" alt="NarenderKumar_2-1715253228379.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;GRANT &amp;lt;privilege-type&amp;gt; ON &amp;lt;securable-type&amp;gt; &amp;lt;securable-name&amp;gt; TO &amp;lt;principal&amp;gt;&lt;/P&gt;&lt;P&gt;I have prepared following 3 commnads using above standard but all of them are failing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NarenderKumar_1-1715253206943.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7506i5283892DA19CC614/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="NarenderKumar_1-1715253206943.png" alt="NarenderKumar_1-1715253206943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command -&amp;gt; GRANT USE CATALOG ON CATALOG uda_dev TO &amp;lt;my user group&amp;gt;&lt;BR /&gt;Error -&amp;gt; [PARSE_SYNTAX_ERROR] Syntax error at or near 'USE'. SQLSTATE: 42601&lt;/P&gt;&lt;P&gt;Command -&amp;gt; GRANT USE SCHEMA ON CATALOG uda_dev TO &amp;lt;my user group&amp;gt;&lt;BR /&gt;Error -&amp;gt; [PARSE_SYNTAX_ERROR] Syntax error at or near 'USE'. SQLSTATE: 42601&lt;/P&gt;&lt;P&gt;Command -&amp;gt; GRANT SELECT ON CATALOG uda_dev TO &amp;lt;my user group&amp;gt;&lt;BR /&gt;Error -&amp;gt; [PARSE_SYNTAX_ERROR] Syntax error at or near 'CATALOG': missing 'SHARE'. SQLSTATE: 42601&lt;/P&gt;&lt;P&gt;I believe my syntax is correct only. because the USE CATALOG, USE SCHEMA and SELECT are valid privilege type on a catalog as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NarenderKumar_3-1715253369442.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7508i105A37EEC8544E9F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="NarenderKumar_3-1715253369442.png" alt="NarenderKumar_3-1715253369442.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried running these commands from SQL editor and notebook both.&lt;BR /&gt;I am getting the same issue.&lt;/P&gt;&lt;P&gt;My main goal is to provide table read access for all the tables in a particular schema to a user group.&lt;BR /&gt;I request to please help how to prepare the SQL commands.&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2024 11:16:16 GMT</pubDate>
    <dc:creator>NarenderKumar</dc:creator>
    <dc:date>2024-05-09T11:16:16Z</dc:date>
    <item>
      <title>Unable to provide access in unity catalog using SQL commands</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-provide-access-in-unity-catalog-using-sql-commands/m-p/68654#M7232</link>
      <description>&lt;P&gt;I am trying to provide access in unity catalog using the SQL commands.&lt;/P&gt;&lt;P&gt;I am following the below documentation:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/manage-privileges/" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/manage-privileges/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It suggests to create SQL commands in below format:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NarenderKumar_2-1715253228379.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7507i870C01F7F57E0B5E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="NarenderKumar_2-1715253228379.png" alt="NarenderKumar_2-1715253228379.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;GRANT &amp;lt;privilege-type&amp;gt; ON &amp;lt;securable-type&amp;gt; &amp;lt;securable-name&amp;gt; TO &amp;lt;principal&amp;gt;&lt;/P&gt;&lt;P&gt;I have prepared following 3 commnads using above standard but all of them are failing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NarenderKumar_1-1715253206943.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7506i5283892DA19CC614/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="NarenderKumar_1-1715253206943.png" alt="NarenderKumar_1-1715253206943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command -&amp;gt; GRANT USE CATALOG ON CATALOG uda_dev TO &amp;lt;my user group&amp;gt;&lt;BR /&gt;Error -&amp;gt; [PARSE_SYNTAX_ERROR] Syntax error at or near 'USE'. SQLSTATE: 42601&lt;/P&gt;&lt;P&gt;Command -&amp;gt; GRANT USE SCHEMA ON CATALOG uda_dev TO &amp;lt;my user group&amp;gt;&lt;BR /&gt;Error -&amp;gt; [PARSE_SYNTAX_ERROR] Syntax error at or near 'USE'. SQLSTATE: 42601&lt;/P&gt;&lt;P&gt;Command -&amp;gt; GRANT SELECT ON CATALOG uda_dev TO &amp;lt;my user group&amp;gt;&lt;BR /&gt;Error -&amp;gt; [PARSE_SYNTAX_ERROR] Syntax error at or near 'CATALOG': missing 'SHARE'. SQLSTATE: 42601&lt;/P&gt;&lt;P&gt;I believe my syntax is correct only. because the USE CATALOG, USE SCHEMA and SELECT are valid privilege type on a catalog as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NarenderKumar_3-1715253369442.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7508i105A37EEC8544E9F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="NarenderKumar_3-1715253369442.png" alt="NarenderKumar_3-1715253369442.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried running these commands from SQL editor and notebook both.&lt;BR /&gt;I am getting the same issue.&lt;/P&gt;&lt;P&gt;My main goal is to provide table read access for all the tables in a particular schema to a user group.&lt;BR /&gt;I request to please help how to prepare the SQL commands.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 11:16:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-provide-access-in-unity-catalog-using-sql-commands/m-p/68654#M7232</guid>
      <dc:creator>NarenderKumar</dc:creator>
      <dc:date>2024-05-09T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to provide access in unity catalog using SQL commands</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-provide-access-in-unity-catalog-using-sql-commands/m-p/68669#M7233</link>
      <description>&lt;P&gt;Try this. For some reason the quotes are crazy when using these commands.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;GRANT&lt;/SPAN&gt;&lt;SPAN&gt; USAGE &lt;/SPAN&gt;&lt;SPAN&gt;ON&lt;/SPAN&gt; &lt;SPAN&gt;CATALOG&lt;/SPAN&gt; &lt;SPAN&gt;`uda_dev`&lt;/SPAN&gt; &lt;SPAN&gt;TO&lt;/SPAN&gt; &lt;SPAN&gt;`your-group`&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;GRANT&lt;/SPAN&gt; &lt;SPAN&gt;SELECT&lt;/SPAN&gt; &lt;SPAN&gt;ON&lt;/SPAN&gt; &lt;SPAN&gt;SCHEMA&lt;/SPAN&gt;&lt;SPAN&gt; uda_dev.&lt;/SPAN&gt;&lt;SPAN&gt;default&lt;/SPAN&gt; &lt;SPAN&gt;TO&lt;/SPAN&gt; &lt;SPAN&gt;`your-group` (without quotes for the schema)&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 May 2024 15:23:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-provide-access-in-unity-catalog-using-sql-commands/m-p/68669#M7233</guid>
      <dc:creator>mhiltner</dc:creator>
      <dc:date>2024-05-09T15:23:15Z</dc:date>
    </item>
  </channel>
</rss>

