Need help on sqlite returned: error code =1, msg = table has no column name
<p>I am a beginner on android programming and I'm facing this error trying to insert into my sqlite database.</p>

<blockquote>
  <p>sqlite returned: error code =1, msg = table MobileHouseVisit has no column elderly_date_time.</p>
</blockquote>

<p>For the first 3 columns there is no problem until I add a few more column. That why I comment it away. I checked the spacing and every thing look alright. I googled about it but still I got no help.</p>

<p>Below is my code</p>

<pre><code>private static final String DATABASE_NAME = "silverCareMgt.db";
private static final String DATABASE_TABLE = "MobileHouseVisit";
private static final int DATABASE_VERSION = 1;
private SQLiteDatabase _db;
private final Context context;

public static final String MOBILE_HOUSE_VISIT_ID = "_id";
public static final int COLUMN_KEY_ID = 0;
public static final String ELDERLY_NAME = "elderly_name";
public static final int COLUMN_NAME_ID = 1;
public static final String ELDERLY_NRIC = "elderly_nric";
public static final int COLUMN_TEL_ID = 2;
public static final String ELDERLY_DATE_TIME = "elderly_date_time";
public static final int COLUMN_DT_ID = 3;
//public static final String PHYSICAL_HEALTH_STATUS ="physical_health";
//public static final int COLUMN_PHY_ID = 4;
//public static final String MENTAL_HEALTH_STATUS ="mental_health_status";
//public static final int COLUMN_MENTAL_ID = 5;

protected static final String DATABASE_CREATE = "create table " + DATABASE_TABLE +" ("+ 
                    MOBILE_HOUSE_VISIT_ID + " integer primary key autoincrement, "+
                    ELDERLY_NAME + " TEXT NOT NULL, "+
                    ELDERLY_NRIC + " TEXT NOT NULL, " +
                    ELDERLY_DATE_TIME + " TEXT NOT NULL);"; 
                    //+ PHYSICAL_HEALTH_STATUS + " TEXT, "
                    //+ MENTAL_HEALTH_STATUS + " TEXT);";
</code></pre>
