Skip to content Skip to sidebar Skip to footer

What Happens If I Forget Comma In My Create Sqlite Table For A Column?

@Override public void onCreate(SQLiteDatabase db) { Log.wtf('x', ' database CREATED!!! -------------------------'); db.execSQL('create table userData (' + 'id i

Solution 1:

That last part of the SQL string reads ,hero5_score intloggedin int);. The declared type of column hero5_score becomes intloggedin int and it gets integer affinity.


Post a Comment for "What Happens If I Forget Comma In My Create Sqlite Table For A Column?"