<?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 Importing CSV — Is there a GP tool that correctly interprets values when setting field data types? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/importing-csv-is-there-a-gp-tool-that-correctly/m-p/1552165#M89486</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 2.9.5; Oracle 18c 10.7.1 EGDB&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I'm trying to import a CSV into an enterprise geodatabase:&amp;nbsp;&lt;EM&gt;Catalog &amp;gt; right-click a .SDE connection &amp;gt; Import &amp;gt; Table &amp;gt; &lt;STRONG&gt;Table to Table&lt;/STRONG&gt; GP tool&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, Table to Table is doing a poor job of interpreting the values when setting the field data types in the new table.&lt;/P&gt;&lt;P&gt;For example, in a number field in the CSV, the first value is 0, and subsequent values have decimal places like 1.234. The new table's data type is automatically set to an integer due to the 0, so when loading the data, the decimal places in the other numbers are getting truncated (or rounded?) to integers, which is incorrect.&lt;/P&gt;&lt;P&gt;Is there a different tool that does a better job?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2024 10:22:52 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-10-25T10:22:52Z</dc:date>
    <item>
      <title>Importing CSV — Is there a GP tool that correctly interprets values when setting field data types?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-csv-is-there-a-gp-tool-that-correctly/m-p/1552165#M89486</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 2.9.5; Oracle 18c 10.7.1 EGDB&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I'm trying to import a CSV into an enterprise geodatabase:&amp;nbsp;&lt;EM&gt;Catalog &amp;gt; right-click a .SDE connection &amp;gt; Import &amp;gt; Table &amp;gt; &lt;STRONG&gt;Table to Table&lt;/STRONG&gt; GP tool&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, Table to Table is doing a poor job of interpreting the values when setting the field data types in the new table.&lt;/P&gt;&lt;P&gt;For example, in a number field in the CSV, the first value is 0, and subsequent values have decimal places like 1.234. The new table's data type is automatically set to an integer due to the 0, so when loading the data, the decimal places in the other numbers are getting truncated (or rounded?) to integers, which is incorrect.&lt;/P&gt;&lt;P&gt;Is there a different tool that does a better job?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 10:22:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-csv-is-there-a-gp-tool-that-correctly/m-p/1552165#M89486</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-10-25T10:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Importing CSV — Is there a GP tool that correctly interprets values when setting field data types?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-csv-is-there-a-gp-tool-that-correctly/m-p/1552187#M89487</link>
      <description>&lt;P&gt;It looks like &lt;STRONG&gt;Table to Geodatabase&lt;/STRONG&gt; might be doing a better job at interpreting the values when setting field types.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1729820098247.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118102iDCA36F51276F462D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1729820098247.png" alt="Bud_0-1729820098247.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1729820122357.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/118103i5CDC4369EEF533B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_1-1729820122357.png" alt="Bud_1-1729820122357.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The numbers are interpreted as doubles; a double field is created, not an integer, which is correct. The numbers with decimal places are loaded into the new table without issue.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 10:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-csv-is-there-a-gp-tool-that-correctly/m-p/1552187#M89487</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-10-25T10:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Table — Is there a GP tool that correctly interprets values when setting field data types?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-csv-is-there-a-gp-tool-that-correctly/m-p/1552188#M89488</link>
      <description>&lt;P&gt;This &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/csv-data-source-documentation/td-p/285681" target="_self"&gt;link&lt;/A&gt; might be relevant.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2024 01:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-csv-is-there-a-gp-tool-that-correctly/m-p/1552188#M89488</guid>
      <dc:creator>BarryNorthey</dc:creator>
      <dc:date>2024-10-25T01:41:14Z</dc:date>
    </item>
  </channel>
</rss>

