<?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 Selecting from a Database Table in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/selecting-from-a-database-table/m-p/86173#M2972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been experimenting with selecting data from database tables and trying to develop a work flow that allows me to select features from the tables without:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;saving the db table as a csv, &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;importing the table to Arc,&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;saving the layer,&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;performing my selection,&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;exporting the table again, &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;importing the table back into my database.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Currently, I have my database table connected to arcgis and I have made my event layer from my database table. When I try to query my event, it won't let me. I can query the table, and make an event of the selection, but the event contains all the records and not simply the selected ones. It looks like I will still need to save my layer before making my selection, which is a messy pain. Does anyone know of a work around to doing these kinds of simple spatial queries that doesn't require me to have so much junk data to get my results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcView 10.0 and I have two database connections, one in SQL and the other in Access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2012 15:31:34 GMT</pubDate>
    <dc:creator>JasonTaylor</dc:creator>
    <dc:date>2012-10-19T15:31:34Z</dc:date>
    <item>
      <title>Selecting from a Database Table</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-from-a-database-table/m-p/86173#M2972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been experimenting with selecting data from database tables and trying to develop a work flow that allows me to select features from the tables without:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;saving the db table as a csv, &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;importing the table to Arc,&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;saving the layer,&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;performing my selection,&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;exporting the table again, &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;importing the table back into my database.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;SPAN&gt;Currently, I have my database table connected to arcgis and I have made my event layer from my database table. When I try to query my event, it won't let me. I can query the table, and make an event of the selection, but the event contains all the records and not simply the selected ones. It looks like I will still need to save my layer before making my selection, which is a messy pain. Does anyone know of a work around to doing these kinds of simple spatial queries that doesn't require me to have so much junk data to get my results. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcView 10.0 and I have two database connections, one in SQL and the other in Access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 15:31:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-from-a-database-table/m-p/86173#M2972</guid>
      <dc:creator>JasonTaylor</dc:creator>
      <dc:date>2012-10-19T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting from a Database Table</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/selecting-from-a-database-table/m-p/86174#M2973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure, if I understood you correctly - so just a thought.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000006r000000"&gt;Make Query Table&lt;/A&gt;&lt;SPAN&gt; tool which allow to query directly tables from OLE DB connection and Spatial Database connection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can specify which files to preserve and enter SQL query expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The output is a temporary table view which can be used as an input for Make XY Event Layer tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can chain those two tools in model tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 18:16:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/selecting-from-a-database-table/m-p/86174#M2973</guid>
      <dc:creator>MarcinGasior</dc:creator>
      <dc:date>2012-10-19T18:16:01Z</dc:date>
    </item>
  </channel>
</rss>

