· 7 years ago · Sep 11, 2018, 12:36 AM
1Creating a table in database..but it has an error saying no such table name CustomerDetails
2private static final String DATABASE_NAME = "SuperComputers.db";
3 private static final String DATABASETABLE = "CustomerDetails";
4 private static final int DATABASE_VERSION = 3;
5
6 private static final String DATABASE_CREATE =
7 "create table if not exist CustomerDetails (id integer primary key autoincrement, "
8 + " NAME VARCHAR not null, SURNAME VARCHAR not null,DateOfBirth date not null," +
9" HomeAddress VARCHAR not null,EmailNO VARCHAR not null,PhoneNumber number , City VARCHAR not null," +
10"TypePayment VARCHAR not null,ShippingType VARCHAR not null, CardNumber number,Passwords VARCHAR not null );";
11
12"create table if not exist CustomerDetails"
13
14"create table if not exists CustomerDetails"