<?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 Export from SQL and Concatenate two fields to one WHILE converting one of the fields. in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/export-from-sql-and-concatenate-two-fields-to-one/m-p/1555792#M4033</link>
    <description>&lt;P&gt;I'll start by saying I'm very new to everything "ESRI", so I am learning.&amp;nbsp; My background has been in Network and Server administration for 2 decades and now I'm the GIS Server Administrator for my department.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We are in the process of trying to update our extremely old VB scripts to Python via ModelBuilder.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What the previous script did was&amp;nbsp;&lt;BR /&gt;1. Truncate three seperate tables. (one dbf file and two shp files)&lt;BR /&gt;2. Import parcel data to the dbf file. (CAMA.dbf)&lt;BR /&gt;&amp;nbsp; a. While importing, field names and some data will be changed.&amp;nbsp; One of which is a "StDir" field that takes whatever is in the field and modifies/converts it to only 2 characters.&amp;nbsp; (i.e. AVE to AV, HWY to HY).&lt;BR /&gt;&amp;nbsp; b. I then need to take this modified/converted field data and concatenate/join it with another field. (i.e. STName + STType) and put that data in a new field named STName2. The output would be "Main St".&amp;nbsp;&lt;BR /&gt;3. Import Polygon data to one of the shp files. (Parcel_Polygons.shp)&lt;BR /&gt;4. Create Points from newly imported Parcel_Polygons data. (Parcel_Points.shp)&lt;BR /&gt;&amp;nbsp; a. I may reach back out for this item later....&lt;BR /&gt;&lt;BR /&gt;Right now I'm stuck on modifying a table then joining two tables together into a new field in a new GDB file.&amp;nbsp; *I've changed the process because we cannot truncate tables that are not Geodatabases, so instead I converted them to GeoDatabase tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if there is anything you would like to see that might help, i.e. part of the script or the new modelbuilder I'm working on.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any and all assistance you can provide.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2024 13:40:44 GMT</pubDate>
    <dc:creator>AndrewWiegman</dc:creator>
    <dc:date>2024-11-06T13:40:44Z</dc:date>
    <item>
      <title>Export from SQL and Concatenate two fields to one WHILE converting one of the fields.</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/export-from-sql-and-concatenate-two-fields-to-one/m-p/1555792#M4033</link>
      <description>&lt;P&gt;I'll start by saying I'm very new to everything "ESRI", so I am learning.&amp;nbsp; My background has been in Network and Server administration for 2 decades and now I'm the GIS Server Administrator for my department.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We are in the process of trying to update our extremely old VB scripts to Python via ModelBuilder.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What the previous script did was&amp;nbsp;&lt;BR /&gt;1. Truncate three seperate tables. (one dbf file and two shp files)&lt;BR /&gt;2. Import parcel data to the dbf file. (CAMA.dbf)&lt;BR /&gt;&amp;nbsp; a. While importing, field names and some data will be changed.&amp;nbsp; One of which is a "StDir" field that takes whatever is in the field and modifies/converts it to only 2 characters.&amp;nbsp; (i.e. AVE to AV, HWY to HY).&lt;BR /&gt;&amp;nbsp; b. I then need to take this modified/converted field data and concatenate/join it with another field. (i.e. STName + STType) and put that data in a new field named STName2. The output would be "Main St".&amp;nbsp;&lt;BR /&gt;3. Import Polygon data to one of the shp files. (Parcel_Polygons.shp)&lt;BR /&gt;4. Create Points from newly imported Parcel_Polygons data. (Parcel_Points.shp)&lt;BR /&gt;&amp;nbsp; a. I may reach back out for this item later....&lt;BR /&gt;&lt;BR /&gt;Right now I'm stuck on modifying a table then joining two tables together into a new field in a new GDB file.&amp;nbsp; *I've changed the process because we cannot truncate tables that are not Geodatabases, so instead I converted them to GeoDatabase tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if there is anything you would like to see that might help, i.e. part of the script or the new modelbuilder I'm working on.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any and all assistance you can provide.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 13:40:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/export-from-sql-and-concatenate-two-fields-to-one/m-p/1555792#M4033</guid>
      <dc:creator>AndrewWiegman</dc:creator>
      <dc:date>2024-11-06T13:40:44Z</dc:date>
    </item>
  </channel>
</rss>

