<?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 Renaming SDE feature classes in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/renaming-sde-feature-classes/m-p/83998#M6631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When renaming a featureclass in an SDE db, do I have to include the full name?&amp;nbsp; ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
for fc in fcList:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_managemant(fc,"new_name")
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
for fc in fcList:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_managemant(fc,"DATABASE_NAME.new_name")
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2012 18:45:55 GMT</pubDate>
    <dc:creator>KevinYanuk</dc:creator>
    <dc:date>2012-10-15T18:45:55Z</dc:date>
    <item>
      <title>Renaming SDE feature classes</title>
      <link>https://community.esri.com/t5/python-questions/renaming-sde-feature-classes/m-p/83998#M6631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When renaming a featureclass in an SDE db, do I have to include the full name?&amp;nbsp; ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
for fc in fcList:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_managemant(fc,"new_name")
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
for fc in fcList:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Rename_managemant(fc,"DATABASE_NAME.new_name")
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 18:45:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/renaming-sde-feature-classes/m-p/83998#M6631</guid>
      <dc:creator>KevinYanuk</dc:creator>
      <dc:date>2012-10-15T18:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming SDE feature classes</title>
      <link>https://community.esri.com/t5/python-questions/renaming-sde-feature-classes/m-p/83999#M6632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No.&amp;nbsp; You can set the env workspace to your SDE connection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And by the way, it's 'management'.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 18:53:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/renaming-sde-feature-classes/m-p/83999#M6632</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2012-10-15T18:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming SDE feature classes</title>
      <link>https://community.esri.com/t5/python-questions/renaming-sde-feature-classes/m-p/84000#M6633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No.&amp;nbsp; You can set the env workspace to your SDE connection.&lt;BR /&gt;&lt;BR /&gt;And by the way, it's 'management'.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Great thanks - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and oops &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This has happened to me before -- it hangs up on arcpy.Rename_management() and doesn't work when trying to do this on SDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can always use C# or something, but this only took a few minutes to throw together, I don't know why it hangs up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 11:37:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/renaming-sde-feature-classes/m-p/84000#M6633</guid>
      <dc:creator>KevinYanuk</dc:creator>
      <dc:date>2012-10-16T11:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming SDE feature classes</title>
      <link>https://community.esri.com/t5/python-questions/renaming-sde-feature-classes/m-p/84001#M6634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I know what you mean...testschemalock only served to let you know if you could acquire a lock (necessary to change the name, delete, add fields, etc.), and then it didn't always seem to work.&amp;nbsp; Now, it appears there is a more potent arsenal with arcpy I haven't tried yet- you can supposedly target and disconnect users (as an admin):&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/DisconnectUser/018v00000061000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/DisconnectUser/018v00000061000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 08:25:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/renaming-sde-feature-classes/m-p/84001#M6634</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2012-10-17T08:25:02Z</dc:date>
    </item>
  </channel>
</rss>

