My Oracle Support Banner

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

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 5.5.05 to 5.5.05.06 [Release 5.5]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

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

CSVUtil.SQLException:
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. 

Cause

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
Symptoms
Cause
Solution
References


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