java.sql.SQLException: ORA-00904

后端 未结 1 649
春和景丽
春和景丽 2021-01-24 23:16

I am getting this below exception-

java.sql.SQLException: ORA-00904: : invalid identifier
ORA-06512: at line 1

Below is the query that I am try

相关标签:
1条回答
  • 2021-01-24 23:27

    Change

    "v_sql VARCHAR2(1000) := 'create table " +DATABASE_TABLE + "(" +
    "(ID number(10,0), " +
    

    into

    "v_sql VARCHAR2(1000) := 'create table " +DATABASE_TABLE +
    "(ID number(10,0), " +
    

    and it is working. You just had one incorrect bracket.

    0 讨论(0)
提交回复
热议问题