java.sql.SQLException: ORA-00936: missing expression

前端 未结 1 556
醉梦人生
醉梦人生 2021-01-20 16:47

Below I am creating table.

    public static final String CREATE_SQL = \"CREATE TABLE \" +DATABASE_TABLE +
        \"(ID number(10,0), \" +
        \" CGUID          


        
相关标签:
1条回答
  • 2021-01-20 17:14

    Yes, there is something wrong with the SQL, and it is that you wrote a comma before FROM dual. This causes Oracle's SQL parser to complain.

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