[Qgis-user] Selecting polygons on attribute

Andre Joost andre+joost at nurfuerspam.de
Tue Jul 24 06:01:15 PDT 2012


Am 24.07.12 14:10, schrieb Zoltan Szecsei:

>
> The selects I have tried are: "sq21code" = "C016*" and also tried using
> "IN"
>
> Any ideas what I am doing wrong and what I should try next?


The * used as a wildcard in the Windows world is not used in SQL 
statements. You should try the LIKE operator:

http://www.w3schools.com/sql/sql_like.asp

with % as the correct wildcard.

HTH,
Andre Joost





More information about the Qgis-user mailing list