<?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: Saving an MXD with a datetime2 field from 10.5 to 10.2 in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/saving-an-mxd-with-a-datetime2-field-from-10-5-to/m-p/213862#M12318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gert,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Could you provide a little additional info on the type of SQL geodatabase this data resides in? Is this a SQL personal / Desktop database or something along the lines of SQLite? I only ask because you (in theory) might be getting such an error if this data resides in a 2008R2 SQL database as 10.5 is unable / unsupported&amp;nbsp;for connection to any SQL database prior to SQL Server 2012 SP3:&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/system-requirements/latest/database-requirements-sqlserver.htm" title="http://desktop.arcgis.com/en/system-requirements/latest/database-requirements-sqlserver.htm"&gt;Microsoft SQL Server database requirements for ArcGIS 10.5—System Requirements | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's odd that the datetime type works but the datetime2 seems to cause the error. I have quickly tested a similar workflow and was able to repoint data from a 10.2 .mxd in 10.5 without issue containing a field with datatime2 type. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2017 16:56:04 GMT</pubDate>
    <dc:creator>RexRobichaux2</dc:creator>
    <dc:date>2017-06-14T16:56:04Z</dc:date>
    <item>
      <title>Saving an MXD with a datetime2 field from 10.5 to 10.2</title>
      <link>https://community.esri.com/t5/data-management-questions/saving-an-mxd-with-a-datetime2-field-from-10-5-to/m-p/213861#M12317</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;We have version 10.5 MXDs that use spatial data from a none-SDE sql database. It include the datetime2 attribute type on feature classes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this is saved as a version 10.2 MXD and opened in our 10.5 environment it still works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this 10.2 MXD is moved to a 10.2 environment that require a data source repair - then we get an 'invalid field type' error when the data repair window of the layer is opened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tested the exact same scenario using datetime as a sql data type instead of datetime2 - then there is no problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But 0.2 support datetime 2:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/#/SQL_Server_data_types_supported_in_ArcGIS/002q00000068000000/"&gt;http://resources.arcgis.com/en/help/main/10.2/#/SQL_Server_data_types_supported_in_ArcGIS/002q00000068000000/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;This support is proven if we open our version 10.2 'datetime' test MXD in the 10.2 environment and point it to a feature class that have datetime2. It works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;So the problem that we have is:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;We cannot do a data source repair in ArcMap 10.2 on layers that have a datetime2 attribute type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Anyone with advice please?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 11:24:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/saving-an-mxd-with-a-datetime2-field-from-10-5-to/m-p/213861#M12317</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2017-06-14T11:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Saving an MXD with a datetime2 field from 10.5 to 10.2</title>
      <link>https://community.esri.com/t5/data-management-questions/saving-an-mxd-with-a-datetime2-field-from-10-5-to/m-p/213862#M12318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gert,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Could you provide a little additional info on the type of SQL geodatabase this data resides in? Is this a SQL personal / Desktop database or something along the lines of SQLite? I only ask because you (in theory) might be getting such an error if this data resides in a 2008R2 SQL database as 10.5 is unable / unsupported&amp;nbsp;for connection to any SQL database prior to SQL Server 2012 SP3:&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/system-requirements/latest/database-requirements-sqlserver.htm" title="http://desktop.arcgis.com/en/system-requirements/latest/database-requirements-sqlserver.htm"&gt;Microsoft SQL Server database requirements for ArcGIS 10.5—System Requirements | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's odd that the datetime type works but the datetime2 seems to cause the error. I have quickly tested a similar workflow and was able to repoint data from a 10.2 .mxd in 10.5 without issue containing a field with datatime2 type. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 16:56:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/saving-an-mxd-with-a-datetime2-field-from-10-5-to/m-p/213862#M12318</guid>
      <dc:creator>RexRobichaux2</dc:creator>
      <dc:date>2017-06-14T16:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Saving an MXD with a datetime2 field from 10.5 to 10.2</title>
      <link>https://community.esri.com/t5/data-management-questions/saving-an-mxd-with-a-datetime2-field-from-10-5-to/m-p/213863#M12319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a MS SQL 2012 SP3 database (version 11.0.6248.0)&amp;nbsp;It is a custom application database, not an SDE one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The MXDs are created in 10.5 and then saved as a 10.2 version/copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error happens when the data source resolve window is opened. Once one get passed that and&amp;nbsp;it is opened, then the 10.2 environment can be pointed to a table with datetime2. The test MXD that we created to test normal datetime type is pointed to an exact copy of our sql table with the datetime type - This test MXD get past the error and allow the modal interface to open and then pointed to the correct table with datetime2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I only have access to one 10.2 environment, so I cant test if is related to only this 10.2 instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime we recreated the MXDs on the 10.2 environment, but this will be problematic to do every time changes are being implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Gert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 10:49:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/saving-an-mxd-with-a-datetime2-field-from-10-5-to/m-p/213863#M12319</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2017-06-15T10:49:11Z</dc:date>
    </item>
  </channel>
</rss>

