<?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 How can I delete millions of attribute in ArcMap 10.5 in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/how-can-i-delete-millions-of-attribute-in-arcmap/m-p/1309914#M4524</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a shapfile which contains 8316420 attributes. I need to delete around 600000 attributes. I am using select by attributes option. But, when I am trying this option it's not working.&lt;/P&gt;&lt;P&gt;Is there any easy way to delete millions of attributes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2023 04:15:55 GMT</pubDate>
    <dc:creator>SikderSaeeduzzaman</dc:creator>
    <dc:date>2023-07-20T04:15:55Z</dc:date>
    <item>
      <title>How can I delete millions of attribute in ArcMap 10.5</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-can-i-delete-millions-of-attribute-in-arcmap/m-p/1309914#M4524</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a shapfile which contains 8316420 attributes. I need to delete around 600000 attributes. I am using select by attributes option. But, when I am trying this option it's not working.&lt;/P&gt;&lt;P&gt;Is there any easy way to delete millions of attributes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 04:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-can-i-delete-millions-of-attribute-in-arcmap/m-p/1309914#M4524</guid>
      <dc:creator>SikderSaeeduzzaman</dc:creator>
      <dc:date>2023-07-20T04:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete millions of attribute in ArcMap 10.5</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-can-i-delete-millions-of-attribute-in-arcmap/m-p/1309958#M4525</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/select-layer-by-attribute.htm" target="_blank" rel="noopener"&gt;Select Layer By Attribute&lt;/A&gt; will be very slow for that many features.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could use your query to make a new layer with &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/make-feature-layer.htm" target="_blank" rel="noopener"&gt;Make Feature Layer&lt;/A&gt;. This layer will contain only features that you want to delete, so just select them all and delete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or you could d o it with a little Python script:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;layer = "LayerName"
query = "SomeField = 'DELETE ME'"

with arcpy.da.UpdateCursor(layer, ["OID@"], query) as cursor:
    for row in cursor:
        cursor.deleteRow()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These will edit your shapefile, so make a backup!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 09:34:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-can-i-delete-millions-of-attribute-in-arcmap/m-p/1309958#M4525</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-07-20T09:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I delete millions of attribute in ArcMap 10.5</title>
      <link>https://community.esri.com/t5/arcmap-questions/how-can-i-delete-millions-of-attribute-in-arcmap/m-p/1311968#M4526</link>
      <description>&lt;P&gt;1. Open your attributes table in ArcMap&lt;/P&gt;&lt;P&gt;2. Open search option, write delete field ...&lt;/P&gt;&lt;P&gt;3. Select Data Management Tool&lt;/P&gt;&lt;P&gt;4.Select Field, here you can find many options to select one field or multiple fields and proceed further for deleting attributes field.&lt;/P&gt;&lt;P&gt;5. If you want to delete records, just create one new field and fill it with two options 0 and 1. Write 1 for those records you want to keep and 0 for those records you do not need.&lt;/P&gt;&lt;P&gt;I hope it will works for you&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 12:55:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/how-can-i-delete-millions-of-attribute-in-arcmap/m-p/1311968#M4526</guid>
      <dc:creator>Faiez</dc:creator>
      <dc:date>2023-07-26T12:55:18Z</dc:date>
    </item>
  </channel>
</rss>

