[gdal-dev] ogr2ogr -f OCI fails on Windows
Martin Landa
landa.martin at gmail.com
Fri May 2 01:36:14 PDT 2014
Hi,
2014-04-18 18:55 GMT+02:00 Ivan Lucena <lucena_ivan at hotmail.com>:
> The driver should create the column as VARCHAR2, not VARCHAR [1]. It is
> wrong for several reasons [2] and there is a possibility that the amount of
> data you are loading is too big for the wrong data type. Can you change that
> code [1], compile and try again?
>
> [1] -
> [http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/oci/ogrociwritablelayer.cpp#L296]
>
> [2] """
> The VARCHAR2 subtypes STRING and VARCHAR have the same range of values as
> their base type. For example, VARCHAR is just another name for VARCHAR2.
>
> You can use the VARCHAR2 subtypes for compatibility with ANSI/ISO and IBM
> types.
thanks for the clarification. Changed in r27274. Martin
More information about the gdal-dev
mailing list