sql - “ORA-00922: missing or invalid option” when trying to insert into table -
when run sql query in oracle sql developer work, in jdbc query doesn't work , catch java.sql.sqlsyntaxerrorexception: ora-00922: missing or invalid option. me ? there query below
create global temporary table my_table ( id varchar2(30 byte) primary key, name varchar2(20 byte)); insert my_table ( id, name) values ('my_id' , 'my_name' );
it quick guess, because have no oracle available proof it, mybatis (which based on jdbc) had behavior last ;
. please try remove in jdbc query.
please create temporary table in first statement, in second statement add data.
Comments
Post a Comment