<?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 Script to Discover Versioned Tables? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/script-to-discover-versioned-tables/m-p/562555#M43999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&amp;nbsp; I'd like a list of tables in my SDE which are versioned, and a list of tables which are not versioned.&amp;nbsp; I know I can see whether or not a table is versioned this way: Feature Class Properties &amp;gt; General Tab &amp;gt; Versioning information, but how can I write a script that would discover that for me?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see these properties available via the Describe function--any thoughts on how to proceed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2012 19:25:03 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-08-15T19:25:03Z</dc:date>
    <item>
      <title>Script to Discover Versioned Tables?</title>
      <link>https://community.esri.com/t5/python-questions/script-to-discover-versioned-tables/m-p/562555#M43999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello!&amp;nbsp; I'd like a list of tables in my SDE which are versioned, and a list of tables which are not versioned.&amp;nbsp; I know I can see whether or not a table is versioned this way: Feature Class Properties &amp;gt; General Tab &amp;gt; Versioning information, but how can I write a script that would discover that for me?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see these properties available via the Describe function--any thoughts on how to proceed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 19:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-to-discover-versioned-tables/m-p/562555#M43999</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-15T19:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Script to Discover Versioned Tables?</title>
      <link>https://community.esri.com/t5/python-questions/script-to-discover-versioned-tables/m-p/562556#M44000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This should do the trick:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy&amp;nbsp; arcpy.env.workspace = r'Database Connections\Test.sde'&amp;nbsp; dataList = arcpy.ListTables() + arcpy.ListFeatureClasses() + arcpy.ListRasters() + arcpy.ListDatasets("", "Feature")&amp;nbsp; for dataset in dataList: &amp;nbsp; desc = arcpy.Describe(dataset) &amp;nbsp; if desc.isVersioned: &amp;nbsp;&amp;nbsp;&amp;nbsp; print desc.name&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 14:44:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-to-discover-versioned-tables/m-p/562556#M44000</guid>
      <dc:creator>RussellBrennan</dc:creator>
      <dc:date>2012-08-16T14:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Script to Discover Versioned Tables?</title>
      <link>https://community.esri.com/t5/python-questions/script-to-discover-versioned-tables/m-p/562557#M44001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much!&amp;nbsp; I didn't dig far enough--Dataset was the one property group I didn't check.&amp;nbsp; Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 15:58:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/script-to-discover-versioned-tables/m-p/562557#M44001</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-16T15:58:16Z</dc:date>
    </item>
  </channel>
</rss>

