<?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: What permissions does a SQL Server database user need to create a geodatabase table from ArcGIS Desktop? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811043#M3182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer your question: I am not sure if it is possible to have other "non-DBO" users create objects in the DBO schema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does your client have a requirement that all the logins be OS authentication (i.e. AD)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you also reviewed this doc that talks about the differences between DBO vs. SDE schema?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/comparison-geodatabase-owners-sqlserver.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/comparison-geodatabase-owners-sqlserver.htm"&gt;A comparison of geodatabase owners in SQL Server—Manage geodatabases in SQL Server | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2020 12:22:31 GMT</pubDate>
    <dc:creator>George_Thompson</dc:creator>
    <dc:date>2020-03-09T12:22:31Z</dc:date>
    <item>
      <title>What permissions does a SQL Server database user need to create a geodatabase table from ArcGIS Desktop?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811038#M3177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My goal is to configure a geodatabase user who is not the dbo user to be able to create tables in the dbo schema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcMap, I created an enterprise geodatabase on a local SQL Server using the Create Enterprise Geodatabase tool. I then created a geodatabase user,&amp;nbsp;&lt;EM&gt;testuser&lt;/EM&gt;, using the Create Database User tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL Server Management Studio, I made a couple of edits to the &lt;EM&gt;testuser&lt;/EM&gt; login:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Set its default schema in the geodatabase that I created to &lt;EM&gt;dbo&lt;/EM&gt;.&lt;/LI&gt;&lt;LI&gt;Assigned the user to the &lt;EM&gt;db_owner&lt;/EM&gt; role in the geodatabase.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I did that, then I was able to use the &lt;EM&gt;testuser&lt;/EM&gt; user to create a table in the database in the &lt;EM&gt;dbo&lt;/EM&gt; schema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I try to create a table in the geodatabase in ArcMap, I get&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;an error that indicates that ArcMap is trying to create the table in the &lt;EM&gt;testuser&lt;/EM&gt; schema, not in the &lt;EM&gt;dbo&lt;/EM&gt; schema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I go back into SSMS and assign the &lt;EM&gt;testuser&lt;/EM&gt; login to the &lt;EM&gt;sysadmin&lt;/EM&gt; role, then I can create a table in the &lt;EM&gt;dbo&lt;/EM&gt; schema from ArcMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously, I don't want to grant a user &lt;EM&gt;sysadmin&lt;/EM&gt; privileges just so that they can create tables in the &lt;EM&gt;dbo&lt;/EM&gt; schema. So, what specific permissions (apparently over and above &lt;EM&gt;db_owner&lt;/EM&gt;) does a user require so that the user can create tables in the &lt;EM&gt;dbo&lt;/EM&gt; schema from within ArcMap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL Server Management Studio, if I create a database user and assign it to the db_owner role, it can create objects in schema that is does not own, including dbo. If I set the default schema for the user to dbo, then the user will create items in the dbo schema by default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2020 21:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811038#M3177</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-04T21:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: What permissions does a SQL Server database user need to create a geodatabase table from ArcGIS Desktop?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811039#M3178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The user name and schema must match within SQL Sever for ArcGIS clients to create objects. As you mentioned, it is possible to do this if the user is a SYSADMIN fixed server role.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/privileges-sqlserver.htm" title="https://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/privileges-sqlserver.htm"&gt;Privileges for geodatabases in SQL Server—Help | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/484144_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option would be to create a separate schema, which is recommended. I always recommend to not store "user" data in the same schema as the geodatabase administrator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 12:58:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811039#M3178</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2020-03-05T12:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: What permissions does a SQL Server database user need to create a geodatabase table from ArcGIS Desktop?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811040#M3179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. I agree that this is what the documentation says, but, as you point out, it's also inaccurate (because the requirement stated by the documentation is not true if the login is assigned to the &lt;EM&gt;sysadmin&lt;/EM&gt; role).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what I'm trying to determine is under which conditions it's possible for a user to create data in the &lt;EM&gt;dbo&lt;/EM&gt; schema (really, it could be any schema, but for simplicity I'm using &lt;EM&gt;dbo&lt;/EM&gt;). We agree that it's possible to do if the login is assigned to the &lt;EM&gt;sysadmin&lt;/EM&gt; role, and I know that it's possible to do if the user is assigned to the &lt;EM&gt;db_owner&lt;/EM&gt; role in the database in SSMS (which leads to the question -- why then isn't it possible from an ArcGIS Desktop client?). It may also be the case that it's possible simply by GRANT CONTROL ON SCHEMA :: dbo to the user (though I've not verified this yet).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems nonsensical to force each user to store data in their own schema. Different users would presumably be working with the same data in the geodatabase, so why would they be forced to work in different schemas? The shared schema doesn't necessarily need to be &lt;EM&gt;dbo&lt;/EM&gt;, but the requirement that each user work in their own schema seems odd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 13:47:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811040#M3179</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-05T13:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: What permissions does a SQL Server database user need to create a geodatabase table from ArcGIS Desktop?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811041#M3180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well the SYSADMIN role overrides many of the permissions and "rules" of the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you created a user (with the permissions to created data in ArcGIS) and gave it a matching schema, i.e. DATA/DATA, then you could have the DATA user create the new tables in that schema. I am not sure why it is this way, but can say it has been this way since the beginning of the old "SDE" and SQL Server. When you apply roles, like db_owner it can also cause some other potential unintended consequences with our software.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My recommendation is to have a single schema own the data and then have other users edit that data. If you have multiple people (users) that can "own" the objects I could see that being a mess with multiple "data owners" of an object. I do not see that as an odd requirement for each owner to have a different schema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 18:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811041#M3180</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2020-03-05T18:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: What permissions does a SQL Server database user need to create a geodatabase table from ArcGIS Desktop?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811042#M3181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yep, I understand the recommendation. It works this way because that's how it works by default in SQL Server. However, as I indicated, it is possible to configure SQL Server to allow other users to create objects in the DBO schema as well. I'm working on a specific client requirement that two "power users" be able to create tables in the DBO schema. So, what I'm looking for are the specific technical constraints that the ArcGIS Desktop client creates, and, as you say, what are the potential unintended consequences resulting from those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 13:25:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811042#M3181</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-06T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: What permissions does a SQL Server database user need to create a geodatabase table from ArcGIS Desktop?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811043#M3182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer your question: I am not sure if it is possible to have other "non-DBO" users create objects in the DBO schema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does your client have a requirement that all the logins be OS authentication (i.e. AD)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you also reviewed this doc that talks about the differences between DBO vs. SDE schema?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/comparison-geodatabase-owners-sqlserver.htm" title="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/comparison-geodatabase-owners-sqlserver.htm"&gt;A comparison of geodatabase owners in SQL Server—Manage geodatabases in SQL Server | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 12:22:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811043#M3182</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2020-03-09T12:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: What permissions does a SQL Server database user need to create a geodatabase table from ArcGIS Desktop?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811044#M3183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, thanks for this reference. As it turns out, I should be able to do what I want, according to this doc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="252" src="https://community.esri.com/legacyfs/online/484512_pastedImage_1.png" width="413" /&gt;&lt;/P&gt;&lt;P&gt;As an aside, these are database logins, not AD logins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I'm creating the database user and giving it membership in the db_owner role:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="403" src="https://community.esri.com/legacyfs/online/484517_pastedImage_3.png" width="409" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" height="370" src="https://community.esri.com/legacyfs/online/484518_pastedImage_4.png" width="419" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and explicitly assigning the default schema of DBO to the user:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" height="387" src="https://community.esri.com/legacyfs/online/484519_pastedImage_5.png" width="439" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is all I need to be able to create a table in SSMS as testuser in DBO. However, ArcMap complains when I try to create a table as testuser that the user and schema names don't match. Whether ArcMap is adding this additional constraint, or this is an incorrect error message, who knows?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" height="126" src="https://community.esri.com/legacyfs/online/484541_pastedImage_7.png" width="281" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the document that you referenced also says this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" height="301" src="https://community.esri.com/legacyfs/online/484540_pastedImage_6.png" width="449" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which seems to contradict what it says above (that it's either SYADMIN or database owner) rather than both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 15:17:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811044#M3183</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-09T15:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: What permissions does a SQL Server database user need to create a geodatabase table from ArcGIS Desktop?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811045#M3184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At this point, I would reach out to technical support and work with a geodatabase analyst and reference this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 16:04:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/what-permissions-does-a-sql-server-database-user/m-p/811045#M3184</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2020-03-09T16:04:02Z</dc:date>
    </item>
  </channel>
</rss>

