-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Hi,
I am working on the integration of node-oracledb into sequelize and I'm having an issue :
I can't execute a create table statement without an error. At each time, I got ORA-00922: missing or invalid option
The sql i try to pass is the following, it's ok with sqlplus and sqldeveloper :
CREATE TABLE users (id NUMBER(*,0) GENERATED BY DEFAULT ON NULL AS IDENTITY, createdAt TIMESTAMP NOT NULL, updatedAt TIMESTAMP NOT NULL,CONSTRAINT PKusersid PRIMARY KEY (id));
The call to execute() returns :
Error: ORA-00922: missing or invalid option
at Error (native)
I am working with nodejs 6.9, Oracle 12c and there is no configuration problem as I am able run my application (which doesn't create tables).
Oracledb is in version 1.12.2.