views:

8

answers:

0

Hello.

I have the following table on Sqlite3 on Android:

Game
------
gameId

That it was created with the following script:

CREATE TABLE Game (gameId) INTEGER PRIMARY KEY AUTOINCREMENT);"

When I'm going to insert data on table I don't put a value for column gameId. Doing this I get the following error:

android.database.sqlite.SQLiteException: near "null": syntax error: , while compiling: INSERT INTO game(null)  VALUES(NULL);

There is another table that contains the description for that game. It will be a description for each language soported by the game.

What can I do to solve the problem?

Thanks.