<?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 sde schema user in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229445#M7988</link>
    <description>&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;I have a geodatabase that has a sde schema, I created a user with default to the sde schema, but when that user loads data into the geodatabase via ArcGIS Pro 3.0 its shows dbo and not sde.&lt;/P&gt;&lt;P&gt;Any ideas why&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2022 09:20:16 GMT</pubDate>
    <dc:creator>HendrikBritz2</dc:creator>
    <dc:date>2022-11-08T09:20:16Z</dc:date>
    <item>
      <title>sde schema user</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229445#M7988</link>
      <description>&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;I have a geodatabase that has a sde schema, I created a user with default to the sde schema, but when that user loads data into the geodatabase via ArcGIS Pro 3.0 its shows dbo and not sde.&lt;/P&gt;&lt;P&gt;Any ideas why&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 09:20:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229445#M7988</guid>
      <dc:creator>HendrikBritz2</dc:creator>
      <dc:date>2022-11-08T09:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: sde schema user</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229530#M7989</link>
      <description>&lt;P&gt;Is that user a "sysadmin" or "dbowner" on the SQL instance?&lt;/P&gt;&lt;P&gt;It should create the data in the dataowner's name i.e., data.tablename&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 15:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229530#M7989</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-11-08T15:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: sde schema user</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229574#M7990</link>
      <description>&lt;H4&gt;&lt;SPAN&gt;Create Enterprise Geodatabase&lt;/SPAN&gt;&lt;/H4&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-sql-server/setup-geodatabase-sqlserver.htm" target="_blank"&gt;Create a geodatabase in SQL Server—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;7. Choose the schema that will contain the geodatabase.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you want a user named &lt;STRONG&gt;sde&lt;/STRONG&gt; to be the geodatabase administrator and the geodatabase to be stored in the sde user's schema, check&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Sde Owned Schema&lt;/SPAN&gt;.&lt;/LI&gt;&lt;LI&gt;If you want the dbo user to be the geodatabase administrator and the geodatabase to be stored in the &lt;STRONG&gt;dbo&lt;/STRONG&gt; schema, uncheck&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Sde Owned Schema&lt;/SPAN&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;P&gt;For more information on storing the geodatabase in either the sde or dbo schema, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.0/help/data/geodatabases/manage-sql-server/comparison-geodatabase-owners-sqlserver.htm" target="_blank" rel="noopener"&gt;A comparison of geodatabase owners in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SQL Server&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best Practices - never load data as the sde user, it is the geodatabase repository owner, instead create a data owner user.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Nov 2022 15:56:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229574#M7990</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-11-09T15:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: sde schema user</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229824#M7991</link>
      <description>&lt;P&gt;Hi Marcelo&lt;/P&gt;&lt;P&gt;Your first link is not working&lt;/P&gt;&lt;P&gt;Currently we use the sde user to update the geodatabase.Considering this is not best practice the following scenario:&lt;/P&gt;&lt;P&gt;We created 2 users to update the geodatabase, but when they copy features over to the goedatabase it shows dbo and not sde. If I remove the sysadmin role from the user I get the error "user name and user schema do not match".&lt;/P&gt;&lt;P&gt;See screenshots attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data is published to a portal where we created a dashboard for a client.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 06:25:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229824#M7991</guid>
      <dc:creator>HendrikBritz2</dc:creator>
      <dc:date>2022-11-09T06:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: sde schema user</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229934#M7992</link>
      <description>&lt;P&gt;Based on my experience when you have "SYSADMIN" it will always load data as "DBO". You need to update the WLA schema to "WLA" and that should allow you have the data correctly owned by that user. That would be following the best practice mentioned above.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 13:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1229934#M7992</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2022-11-09T13:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: sde schema user</title>
      <link>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1230022#M7993</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-sql-server/setup-geodatabase-sqlserver.htm" target="_blank" rel="noopener"&gt;Create a geodatabase in SQL Server—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;7. Choose the schema that will contain the geodatabase.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you want a user named sde to be the geodatabase administrator and the geodatabase to be stored in the sde user's schema, check&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Sde Owned Schema&lt;/SPAN&gt;.&lt;/LI&gt;&lt;LI&gt;If you want the dbo user to be the geodatabase administrator and the geodatabase to be stored in the dbo schema, uncheck&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Sde Owned Schema&lt;/SPAN&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;P&gt;For more information on storing the geodatabase in either the sde or dbo schema, see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.0/help/data/geodatabases/manage-sql-server/comparison-geodatabase-owners-sqlserver.htm" target="_blank" rel="noopener"&gt;A comparison of geodatabase owners in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SQL Server&lt;/SPAN&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;a. check how the sde repository was created dbo or sde , see link above for the documentation&lt;/P&gt;&lt;P&gt;b. check the permissions, follow the documentation&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-sql-server/privileges-sqlserver.htm" target="_blank" rel="noopener"&gt;Privileges for geodatabases in SQL Server—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;c. do not grant sysadmin to the sde user if you are using sde user as the arcsde geodatabase repository owner.&lt;/P&gt;&lt;P&gt;d. (schema1.png picture) the WLA data owner user is not created correctly, it cannot be set to use the sde schema, you must create a schema called WLA and assign that schema as the default schema for the WLA user then grant the proper privileges to the WLA user to be a data owner user, see previous link for the privileges (look for "data creator" = "data owner" user)&lt;/P&gt;&lt;P&gt;e. (Login server roles.png picture) do not grant sysadmin role to the WLA user&lt;/P&gt;&lt;P&gt;f. (Login server roles.png picture) do not grant processadmin role to the WLA user, only the sde user must be assigned this permission&lt;/P&gt;&lt;P&gt;g. read this documentation to understand more about an user that can create data = "data owner user"&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-sql-server/add-users-sqlserver.htm" target="_blank" rel="noopener"&gt;Add logins and users to SQL Server—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;You can download my database template scripts and read my database best practices guide books in this link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/mapping-and-charting-solutions-mcs-enterprise/ba-p/893351" target="_blank" rel="noopener"&gt;Mapping and Charting Solutions (MCS) Enterprise Da... - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the database template scripts cover step by step how to setup / configure an enterprise geodatabase in SQL Server in the correct way and shows how to properly create the data owner user and grant the correct permissions, download the database template then make a copy and customize as you need, that is the intention in making those available to customers.&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 19:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/sde-schema-user/m-p/1230022#M7993</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-11-09T19:11:45Z</dc:date>
    </item>
  </channel>
</rss>

