Spatial (MOSC)

MOSC Banner

ogr2ogr and ORA-01830

in Spatial (MOSC) 8 commentsAnswered

I'm trying to upload a geopackage file into Oracle 19c EE using GDAL ogr2ogr but get the following error:

ORA-01830 date format picture ends before converting entire input string

The command I'm using is:

ogr2ogr -f OCI OCI:scott/tiger@db smx2.gpkg

Attached is a debug from the ogr2ogr session.


The table get's created with two TIMSTAMP colums but the data does not get loaded. I noticed that the debug log seems to indicate that NLS session parameters are being applied by the utility.  Any ideas on how work around this?

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center