Skip to main content
Jul 10, 2015 12:15 PM UTC
Question

ORA-00933: SQL command not properly ended. CF9 Error Executing Database Query, using ojdbc6 driver with Insert statement using select query.

Hi,

When using the CF9 in-build Oracle driver, the query works well, but when it is changed to use the ojdbc6.jar, then getting the below issue.

ORA-00933: SQL command not properly ended.

Issue particularly happens when we do an Insert using a select query inside cfquery. i.e.

INSERT INTO Table1
  (
  id
  , name
  , viewtime
  )
  SELECT
  tab_id as id
  , name
  , viewtime
  From Table2

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Inspiring
Jul 10, 2015 12:44 PM UTC

What is your reason for changing the driver?

Translate
Jul 10, 2015 1:20 PM UTC

Because we are migrating from oracle 11g to 12c and the CF embedded driver does not work with oracle 12c.

For the next Question, yes we are planning to migrate the app to CF 11, but oracle is queued first.

Translate
Inspiring
Jul 10, 2015 2:44 PM UTC

CF9 does not support 12c. You will have to upgrade to CF11 before changing to 12C

Translate