<?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: Unique indexes cannot be specified for multiversion tables in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/unique-indexes-cannot-be-specified-for/m-p/771441#M992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hani, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any unique indexes specified on your feature class for columns other than OBJECTID?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason that multiversion tables cannot support unique indexes is because the delta tables that get created in this operation will support multiple rows for a single OBJECTID. Therefore, a unique index cannot be used as the values in the column will most likely repeat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in table 'Streets' with columns OBJECTID, NAME, LENGTH, SHAPE the following row exists:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1, Main St, 1.234, Shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If editor 'A' modifies the length field the delta tables will have a new entry:&lt;/P&gt;&lt;P&gt;1, Main St, 2.567, Shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If editor 'B' modifies it after editor 'A' but changes the length, the new delta table will look like this:&lt;/P&gt;&lt;P&gt;1, Main St, 2.567, Shape&lt;/P&gt;&lt;P&gt;1, Main St, 2.789, Shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This shows that if a unique index was built on the NAME column, the delta tables would error out frequently with every insert or update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 12:59:33 GMT</pubDate>
    <dc:creator>ChristianWells</dc:creator>
    <dc:date>2016-06-14T12:59:33Z</dc:date>
    <item>
      <title>Unique indexes cannot be specified for multiversion tables</title>
      <link>https://community.esri.com/t5/geodatabase-questions/unique-indexes-cannot-be-specified-for/m-p/771440#M991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an existing table in an oracle enterprise GDB, when I try to enable this table as versioned, I get an error that says: "unique indexes cannot be specified for multiversion tables".&lt;/P&gt;&lt;P&gt;What might be the issue here?&lt;/P&gt;&lt;P&gt;Any help is highly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hani&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Clip_1557.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/207686_Clip_1557.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:22:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/unique-indexes-cannot-be-specified-for/m-p/771440#M991</guid>
      <dc:creator>HaniDraidi</dc:creator>
      <dc:date>2016-06-14T09:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unique indexes cannot be specified for multiversion tables</title>
      <link>https://community.esri.com/t5/geodatabase-questions/unique-indexes-cannot-be-specified-for/m-p/771441#M992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hani, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any unique indexes specified on your feature class for columns other than OBJECTID?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason that multiversion tables cannot support unique indexes is because the delta tables that get created in this operation will support multiple rows for a single OBJECTID. Therefore, a unique index cannot be used as the values in the column will most likely repeat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example in table 'Streets' with columns OBJECTID, NAME, LENGTH, SHAPE the following row exists:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1, Main St, 1.234, Shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If editor 'A' modifies the length field the delta tables will have a new entry:&lt;/P&gt;&lt;P&gt;1, Main St, 2.567, Shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If editor 'B' modifies it after editor 'A' but changes the length, the new delta table will look like this:&lt;/P&gt;&lt;P&gt;1, Main St, 2.567, Shape&lt;/P&gt;&lt;P&gt;1, Main St, 2.789, Shape&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This shows that if a unique index was built on the NAME column, the delta tables would error out frequently with every insert or update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 12:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/unique-indexes-cannot-be-specified-for/m-p/771441#M992</guid>
      <dc:creator>ChristianWells</dc:creator>
      <dc:date>2016-06-14T12:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unique indexes cannot be specified for multiversion tables</title>
      <link>https://community.esri.com/t5/geodatabase-questions/unique-indexes-cannot-be-specified-for/m-p/771442#M993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks Christian for the valuable elaboration.&lt;/P&gt;&lt;P&gt;Actually I don't have unique index on the table. I am wondering if there is any solution for this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is highly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 07:58:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/unique-indexes-cannot-be-specified-for/m-p/771442#M993</guid>
      <dc:creator>HaniDraidi</dc:creator>
      <dc:date>2016-06-20T07:58:38Z</dc:date>
    </item>
  </channel>
</rss>

