Hi,
I´m getting a sql parsing error when I tried to execute a query to a
shapefile where column name starts with "_".
When i execute a query like : ogrinfo Provincias.shp -sql "SELECT * FROM
Provincias WHERE tipo = 1"
INFO: Open of `Provincias.shp'
using driver `ESRI Shapefile' successful.
try enclosing the column with single or double quotes?
On Tue, Oct 9, 2012 at 5:35 PM, Gabriel Fusca
wrote:
>
> Hi,
>
> I´m getting a sql parsing error when I tried to execute a query to a
> shapefile where column name starts with "_".
>
> When i execute a query like : ogrinfo Provincias.shp -sql