<?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: How to identify branch versioned feature classes from SDE Business Tables? in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1650787#M9693</link>
    <description>&lt;P&gt;I am only sharing this in case it was missed, but at ArcGIS Pro 3.4+, Describe now has properties isTraditionalVersioned and isBranchVersioned. I wish there weren't three different properties to go through to find what versioning type a dataset is, but better than digging through the RDBMS...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.4/arcpy/functions/dataset-properties.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.4/arcpy/functions/dataset-properties.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Sep 2025 18:44:51 GMT</pubDate>
    <dc:creator>JBeasley</dc:creator>
    <dc:date>2025-09-16T18:44:51Z</dc:date>
    <item>
      <title>How to identify branch versioned feature classes from SDE Business Tables?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1344657#M8665</link>
      <description>&lt;P&gt;I'm looking for a way to easily detect all feature classes in an enterprise geodatabase that are configured with branch versioning.&amp;nbsp; Anyone found a straightforward way to do this in an automated fashion?&lt;/P&gt;&lt;P&gt;Arcpy's describe provides a way to determine if the feature class is versioned, but no way to distinguish between traditional vs branch. So that's led me to look at the SDE business tables, and I found two possible candidates.&amp;nbsp; I'm curious if anyone has had more experience with these since I can't find documentation on what each do.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BRANCH_TABLES_MODIFIED&amp;nbsp; is the first candidate. It has a BRANCH_ID column with many of the rows having a zero in this column. Then there is a REGISTRATION_ID which seems to be the same ID as on SDE.TABLE_REGISTRY.&amp;nbsp; I assume that BRANCH_ID = 0 equates to default version for each table.&amp;nbsp; So if I filter to BRANCH_ID=0 and join to TABLE_REGISTRY does that get me the comprehensive list?&lt;/P&gt;&lt;P&gt;MULTIBRANCH_TABLES is another candidate with a REGISTRATION_ID and a START_MOMENT date column.&amp;nbsp; I seem to get fewer tables back from this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 19:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1344657#M8665</guid>
      <dc:creator>AndrewRudin1</dc:creator>
      <dc:date>2023-11-01T19:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify branch versioned feature classes from SDE Business Tables?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1344696#M8667</link>
      <description>&lt;P&gt;From the SQL end, any registered table that's branch versioned will have some special fields to track the branch version info. In my environment the GDB_IS_DELETE field is a solid indicator, your EGDB configuration may create different fields. I'm not a SQL wizard but if you can get the schema for every table programmatically that should do you.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 21:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1344696#M8667</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2023-11-01T21:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify branch versioned feature classes from SDE Business Tables?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1344768#M8668</link>
      <description>&lt;P&gt;The XML definitions in the GDB_ITEMS table might have something?&amp;nbsp; (I don't actually know, but it's probably worth a look.)&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 23:25:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1344768#M8668</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2023-11-01T23:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify branch versioned feature classes from SDE Business Tables?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1344769#M8669</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/sql-access-to-geodatabase-data.htm" target="_blank" rel="noopener"&gt;SQL access to enterprise geodatabase data—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/overview-geodatabase-system-tables.htm" target="_blank" rel="noopener"&gt;Geodatabase system tables—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/determining-which-data-is-versioned.htm" target="_blank"&gt;Example: Determine which datasets are versioned in a geodatabase—ArcMap | Documentation (arcgis.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SQL SERVER&lt;/STRONG&gt;&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM sde.GDB_ITEMS&lt;BR /&gt;GO&lt;BR /&gt;&lt;STRONG&gt;--Versioned&lt;/STRONG&gt;&lt;BR /&gt;SELECT NAME AS "Versioned feature class", definition&lt;BR /&gt;FROM sde.GDB_ITEMS&lt;BR /&gt;WHERE Definition.exist('(/*/Versioned)[1]') = 1&lt;BR /&gt;AND Definition.value('(/*/Versioned)[1]', 'nvarchar(4)') = 'true'&lt;BR /&gt;GO&lt;BR /&gt;&lt;STRONG&gt;--Not Versioned&lt;/STRONG&gt;&lt;BR /&gt;SELECT NAME AS "Versioned feature class", definition&lt;BR /&gt;FROM sde.GDB_ITEMS&lt;BR /&gt;WHERE&lt;BR /&gt;Definition.exist('(/*/Versioned)[1]') = 1&lt;BR /&gt;AND Definition.value('(/*/Versioned)[1]', 'nvarchar(4)') = 'false'&lt;BR /&gt;GO&lt;BR /&gt;&lt;STRONG&gt;--Branch Versioned&lt;/STRONG&gt;&lt;BR /&gt;SELECT NAME AS "Versioned feature class", definition&lt;BR /&gt;FROM sde.GDB_ITEMS&lt;BR /&gt;WHERE&lt;BR /&gt;Definition.exist('(/*/Versioned)[1]') = 1&lt;BR /&gt;AND Definition.value('(/*/Versioned)[1]', 'nvarchar(4)') = 'true'&lt;BR /&gt;AND Definition.exist('(/*/IsBranch)[1]') = 1&lt;BR /&gt;AND Definition.value('(/*/IsBranch)[1]', 'nvarchar(4)') = 'true'&lt;BR /&gt;GO&lt;BR /&gt;&lt;STRONG&gt;--Traditional Versioning&lt;/STRONG&gt;&lt;BR /&gt;SELECT NAME AS "Versioned feature class", definition&lt;BR /&gt;FROM sde.GDB_ITEMS&lt;BR /&gt;WHERE&lt;BR /&gt;Definition.exist('(/*/Versioned)[1]') = 1&lt;BR /&gt;AND Definition.value('(/*/Versioned)[1]', 'nvarchar(4)') = 'true'&lt;BR /&gt;AND Definition.exist('(/*/IsBranch)[1]') = 1&lt;BR /&gt;AND Definition.value('(/*/IsBranch)[1]', 'nvarchar(4)') = 'false'&lt;BR /&gt;GO&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 23:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1344769#M8669</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-11-01T23:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify branch versioned feature classes from SDE Business Tables?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1637626#M9677</link>
      <description>&lt;P&gt;A little late but may help someone, as stated in OP...&lt;/P&gt;&lt;P&gt;ORACLE:&lt;/P&gt;&lt;P&gt;select distinct(TABLE_NAME), OWNER from SDE.TABLE_REGISTRY a&lt;BR /&gt;inner join SDE.BRANCH_TABLES_MODIFIED b&lt;BR /&gt;on a.registration_id = b.registration_id&lt;/P&gt;&lt;P&gt;filter on branch_id,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 14:48:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1637626#M9677</guid>
      <dc:creator>ChrisStiwinter1</dc:creator>
      <dc:date>2025-07-30T14:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify branch versioned feature classes from SDE Business Tables?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1650787#M9693</link>
      <description>&lt;P&gt;I am only sharing this in case it was missed, but at ArcGIS Pro 3.4+, Describe now has properties isTraditionalVersioned and isBranchVersioned. I wish there weren't three different properties to go through to find what versioning type a dataset is, but better than digging through the RDBMS...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.4/arcpy/functions/dataset-properties.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.4/arcpy/functions/dataset-properties.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2025 18:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1650787#M9693</guid>
      <dc:creator>JBeasley</dc:creator>
      <dc:date>2025-09-16T18:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify branch versioned feature classes from SDE Business Tables?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1653576#M9695</link>
      <description>&lt;P&gt;isBranchVersioned, and isTraditionalVersioned is only in the Dataset properties documentation but it appears to work on feature classes.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2025 00:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1653576#M9695</guid>
      <dc:creator>MichaelAdornetto1</dc:creator>
      <dc:date>2025-09-27T00:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to identify branch versioned feature classes from SDE Business Tables?</title>
      <link>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1653588#M9696</link>
      <description>&lt;P&gt;retracted&lt;/P&gt;</description>
      <pubDate>Sat, 27 Sep 2025 00:46:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/how-to-identify-branch-versioned-feature-classes/m-p/1653588#M9696</guid>
      <dc:creator>MichaelAdornetto1</dc:creator>
      <dc:date>2025-09-27T00:46:46Z</dc:date>
    </item>
  </channel>
</rss>

