I'm creating an application to input input string values from EditText into a SQLite database. When running the app through the simulator, a logcat error message is received when the database will be created initially. The logcat error message is below.
01-23 16:47:39.613: E/Database(1386): Failure 1 (near "existinfoTable": syntax error) on 0x1392b8 when preparing 'create table if not existinfoTable(_idinterger primary key,sNametext not null,wUrltext not null,uNametext not null,pWordtext not null);'.
The OnCreate method it is referring to is below. I'm not sure what syntax error is causing the problem. any help would be appreciated.
public void onCreate(SQLiteDatabase db) {
String sqlDataStore = "create table if not exist" +
TABLE_NAME_INFOTABLE + "("+ BaseColumns._ID + "interger primary key autoincrement,"
+ COLUMN_NAME_SITE + "text not null,"
+ COLUMN_NAME_ADDRESS + "text not null,"
+ COLUMN_NAME_USERNAME + "text not null,"
+ COLUMN_NAME_PASSWORD + "text not null),";
db.execSQL(sqlDataStore);
}