Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

How can i use ' symbol in a select set

$
0
0
I want to select all the names with the ' character using a select set query but I've been getting the error message below;

Code:

arcpy.SelectLayerByAttribute_management("GISMainFabric_Parcels", "NEW_SELECTION",'"Name" LIKE \'%'%\'')
Parsing error SyntaxError: unexpected character after line continuation character (line 1)

Please any suggestions?

Viewing all articles
Browse latest Browse all 2485

Trending Articles