"CSVUtil.SQLException" When Attempting to Export Data as a Zip File

(Doc ID 827601.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 5.5.05 to
This problem can occur on any platform.


When trying to export data as a ZIP via the UI and not using a where clause, the following error is received:

java.sql.SQLException: ORA-00936: missing expression
java.sql.SQLException: ORA-00936: missing expression
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1957)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:850)

This is being done as described in the data management guide in section 12-2 - Exporting Data as a Zip File

In addtion, the Data Management guide has the where clause as below:

-dataFileName location_out.csv -command xcsv -tableName LOCATION - whereClause "rownum < 10"
If the above is simply copied and pasted this into the csvutil.ctl file, the same error will be received when trying to upload the zip file. 


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms