[gdal-dev] OGR SQL: Excecuting select where column name contains "."

Etienne Tourigny etourigny.dev at gmail.com
Thu Oct 4 04:53:53 PDT 2012


Hi,

You haven't said which platform and binding/command line you are using.

In linux command line you would probably replace "." with "\."

Also column name should probably enclosed in quotes, not brackets.

Etienne

On Thu, Oct 4, 2012 at 8:29 AM, Odd Ragnar Lydersen
<Odd-Ragnar.Lydersen at powel.no> wrote:
> Is it possible to make OGRDataSource:: ExecuteSQL() to work with a column name containing "."?
>
> Here is an example:
> select column.name.one, column.name.two from 'wfs:layerName'
>
> I have tried to enclose the column name in [] brackets, but that was invalid as well.
> Any ideas on how to get around this?
>
>>Odd-Ragnar<
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list