My Oracle Support Banner

"CSVUtil.SQLException" When Attempting to Export Data as a Zip File (Doc ID 827601.1)

Last updated on MAY 06, 2022

Applies to:

Oracle Transportation Management - Version 5.5.05 to [Release 5.5]
Information in this document applies to any platform.
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(
at oracle.jdbc.ttc7.TTIoer.processError(
at oracle.jdbc.ttc7.Oall7.receive(
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(

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. 


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.