Select by Attribute

404
2
06-16-2014 08:12 AM
SaidDouai
New Contributor
This is my first time to try Python script. I want to select a many states with a thousand records if i have to do this manually through Arc Map it will take a long time. Can anyone help me with a simple example of python script on how to run this function.

Thanks everyone.

Said
Tags (2)
0 Kudos
2 Replies
markdenil
Occasional Contributor III
Look at the Select Layer By Attribute (Data Management) tool help.....
pay attention to the part about the where_clause
0 Kudos
AdamCox1
Occasional Contributor II
Just to point out, if you only need to do this a couple of times you could just use the Select by Attribute tool from the Selection menu.
0 Kudos