<?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 DBMS error - 42s02 invalid object name invalid for use as a key in an index in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769671#M849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to copy GDB file content (no creator on that source) on SDE GBE. The GDB File is build with relations table. I use "drag and drop" action to copy the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The copy was interrupted due to one file (table file) that the type is invalid for uses as a key colomn in an index (abstract of the error message &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This file is set up with a key column built like 1111111-1/1 (varchar) and wide as 8000 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that :&lt;/P&gt;&lt;P&gt;1- the key column is not right.&lt;/P&gt;&lt;P&gt;2- The field is too wide for the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I right or not ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading and answering !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2020 09:20:08 GMT</pubDate>
    <dc:creator>NicolasRoux</dc:creator>
    <dc:date>2020-02-17T09:20:08Z</dc:date>
    <item>
      <title>DBMS error - 42s02 invalid object name invalid for use as a key in an index</title>
      <link>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769671#M849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to copy GDB file content (no creator on that source) on SDE GBE. The GDB File is build with relations table. I use "drag and drop" action to copy the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The copy was interrupted due to one file (table file) that the type is invalid for uses as a key colomn in an index (abstract of the error message &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This file is set up with a key column built like 1111111-1/1 (varchar) and wide as 8000 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that :&lt;/P&gt;&lt;P&gt;1- the key column is not right.&lt;/P&gt;&lt;P&gt;2- The field is too wide for the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I right or not ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading and answering !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 09:20:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769671#M849</guid>
      <dc:creator>NicolasRoux</dc:creator>
      <dc:date>2020-02-17T09:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS error - 42s02 invalid object name invalid for use as a key in an index</title>
      <link>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769672#M850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the field is a VARCHAR, then you can have up to 8000 characters.&amp;nbsp; Check to see if the column definition uses VARCHAR(&lt;STRONG&gt;MAX&lt;/STRONG&gt;).&amp;nbsp; If it does, try using a limited size rather than MAX.&amp;nbsp; What version of SQL Server are you using?&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;There is a limitation in SQL Server (depending on the version) that VARCHAR(MAX) and NVARCHAR(MAX) cannot be used in indices.&amp;nbsp; Instead, a fixed length must be used to make it eligible for use in the index.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 15:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769672#M850</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2020-02-17T15:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS error - 42s02 invalid object name invalid for use as a key in an index</title>
      <link>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769673#M851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column definition uses VARCHAR(MAX), up to 8000 characters. The SQL Server version is 2016 (don't SP version as well).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 15:59:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769673#M851</guid>
      <dc:creator>NicolasRoux</dc:creator>
      <dc:date>2020-02-17T15:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS error - 42s02 invalid object name invalid for use as a key in an index</title>
      <link>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769674#M852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the column definition from VARCHAR(MAX) to something else with a suitable length such as VARCHAR(100).&amp;nbsp; Let me know if it works after that.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 16:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769674#M852</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2020-02-17T16:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS error - 42s02 invalid object name invalid for use as a key in an index</title>
      <link>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769675#M853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After the change, it didn't work. I get the same error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 06:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769675#M853</guid>
      <dc:creator>NicolasRoux</dc:creator>
      <dc:date>2020-02-18T06:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS error - 42s02 invalid object name invalid for use as a key in an index</title>
      <link>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769676#M854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After making the change, did you close and re-open ArcGIS Desktop?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 13:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769676#M854</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2020-02-18T13:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: DBMS error - 42s02 invalid object name invalid for use as a key in an index</title>
      <link>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769677#M855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for my late response... Yes, I did it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I asked to the table owner changing the length field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answers &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 12:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/dbms-error-42s02-invalid-object-name-invalid-for/m-p/769677#M855</guid>
      <dc:creator>NicolasRoux</dc:creator>
      <dc:date>2020-02-27T12:34:40Z</dc:date>
    </item>
  </channel>
</rss>

