<?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: Does SDE support the SQL Server 'date' field? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460788#M26337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The SQL Server Date() and Time() data types are not currently supported.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The entire list of data types supported by ArcSDE with SQL Server are found within the link you reference.&amp;nbsp; The reference to the 11 datatypes is taken from the 11 unique types listed under the "ArcGIS data type" heading, meaning that those within the listing without a corresponding ArcGIS data type "na" must be created outside of the ArcGIS UI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; A comparison of ArcGIS, ArcSDE, and SQL Server data types&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_comparison_of_ArcGIS_ArcSDE_and_SQL_Server_data_types/002q00000068000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_comparison_of_ArcGIS_ArcSDE_and_SQL_Server_data_types/002q00000068000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you are using ArcGIS 10 and the SQL Server Geography Spatial Type you can access features using this data type via Query Layers to query etc.&amp;nbsp; This may be of use unless you must edit these using ArcGIS. (this also goes for the Geometry type)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Jon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2012 18:35:27 GMT</pubDate>
    <dc:creator>JonDeRose</dc:creator>
    <dc:date>2012-03-02T18:35:27Z</dc:date>
    <item>
      <title>Does SDE support the SQL Server 'date' field?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460787#M26336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been trying to register a SQL Server 2008 table with a 'date' field as a point feature class in SDE 10. When I try to register the table I get the following error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;sdelayer -o register -l test,geom -e p -t geography -R 1 -i sde:sqlserver:localhost,1276 -D &amp;lt;%databasename%&amp;gt; -E -180,-90,+180,+90 -u &amp;lt;%user%&amp;gt; -p &amp;lt;%password%&amp;gt;&amp;nbsp;&amp;nbsp; ArcSDE 10.0&amp;nbsp; for SQL Server Build 685 Fri May 14 12:05:43&amp;nbsp; 2010 Layer&amp;nbsp;&amp;nbsp;&amp;nbsp; Administration Utility ----------------------------------------------------- Error: Attribute conversion error (-55). Error: Unable to create registration for table test.&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I remove the 2 date fields, change them to datetime or datetime2 then the table registers just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have seen here that SDE uses the datetime field and does not mention that the date field is NOT supported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_comparison_of_ArcGIS_ArcSDE_and_SQL_Server_data_types/002q00000068000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_comparison_of_ArcGIS_ArcSDE_and_SQL_Server_data_types/002q00000068000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it also says &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When you create a feature class or table in ArcGIS, there are 11 possible data types you can assign to a field. That means there are some data types that can only be created outside ArcGIS. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;leading me to think that I can use the date field as long as the table is created outside of SDE, which it is.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 17:33:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460787#M26336</guid>
      <dc:creator>LeeKaufman</dc:creator>
      <dc:date>2012-03-02T17:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Does SDE support the SQL Server 'date' field?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460788#M26337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The SQL Server Date() and Time() data types are not currently supported.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The entire list of data types supported by ArcSDE with SQL Server are found within the link you reference.&amp;nbsp; The reference to the 11 datatypes is taken from the 11 unique types listed under the "ArcGIS data type" heading, meaning that those within the listing without a corresponding ArcGIS data type "na" must be created outside of the ArcGIS UI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; A comparison of ArcGIS, ArcSDE, and SQL Server data types&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_comparison_of_ArcGIS_ArcSDE_and_SQL_Server_data_types/002q00000068000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_comparison_of_ArcGIS_ArcSDE_and_SQL_Server_data_types/002q00000068000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you are using ArcGIS 10 and the SQL Server Geography Spatial Type you can access features using this data type via Query Layers to query etc.&amp;nbsp; This may be of use unless you must edit these using ArcGIS. (this also goes for the Geometry type)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Jon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 18:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460788#M26337</guid>
      <dc:creator>JonDeRose</dc:creator>
      <dc:date>2012-03-02T18:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Does SDE support the SQL Server 'date' field?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460789#M26338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jon.&amp;nbsp; I will look into the Query Layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lee&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 19:15:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460789#M26338</guid>
      <dc:creator>LeeKaufman</dc:creator>
      <dc:date>2012-03-02T19:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Does SDE support the SQL Server 'date' field?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460790#M26339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi. I'm in ArcGIS 10.1 and it appears Date is not supported for SqlServer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;we tried changing the date data type to a datetime data type..and still not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;anyone having same issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 22:16:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460790#M26339</guid>
      <dc:creator>harleypowers_parks</dc:creator>
      <dc:date>2012-09-07T22:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Does SDE support the SQL Server 'date' field?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460791#M26340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Harley - I'm running into a similar problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Server 10.1 using a direct connect (standard I guess now...) over to SqlServer 2008. I have a DATE field in a web-editing application and it's throwing out some interesting results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm tempted to update the geodatabase to 10.1 but a little nervous about doing so. Were you able to solve your issue by changing the field to another type?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Meg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 17:43:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460791#M26340</guid>
      <dc:creator>MegPeterson</dc:creator>
      <dc:date>2012-10-03T17:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Does SDE support the SQL Server 'date' field?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460792#M26341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Meg,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As indicated, the date data type isn't supported at 10.1 either, so upgrading will not change that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/#/SQL_Server_data_types_supported_in_ArcGIS/002q00000068000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/#/SQL_Server_data_types_supported_in_ArcGIS/002q00000068000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure why datetime would not have worked, though.&amp;nbsp; Fields of that data type should be visible in ArcGIS.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 19:10:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-sde-support-the-sql-server-date-field/m-p/460792#M26341</guid>
      <dc:creator>KimPeter</dc:creator>
      <dc:date>2012-10-04T19:10:02Z</dc:date>
    </item>
  </channel>
</rss>

