Android Sqlite database column defined in Create table script but not creating on table

前端 未结 2 453
长情又很酷
长情又很酷 2021-01-27 07:13

I have a the below table script:

\"CREATE TABLE \" + TABLE_XXX + \"(\"
                    + XXX_ID + \" INTEGER PRIMARY KEY,\"
                    + XXX_I         


        
2条回答
  •  不知归路
    2021-01-27 07:44

    There are missing whitespaces in your statement.

    + XXX_IS_OK +"INTEGER, "
    

    should be:

    + XXX_IS_OK +" INTEGER, "
    

提交回复
热议问题