title: Why is Logcat showing "E/SQLiteLog﹕ (1) no such table: reg_info"?
body: <p>I changed the database version, added the appropriate amount of spaces to the SQL function to create a table and updated the parameters for the function that inserts input into the database, but LogCat still displays:</p>
  
  <pre><code>E/SQLiteLog: (1) no such table: reg_info
  E/SQLiteDatabase: Error inserting user_password=e user_email=e user_name=e
  While compiling: INSERT INTO reg_info(user_password,user_email,user_name)
  </code></pre>
  
  <p>I condensed the information displayed from the errors just to focus on these specific errors. This problem occurs on the emulator and Android devices. Thank you.</p>
  
  <p>This is my contract class where I declared all the columns for my table:</p>
  
  <pre><code>package com.example.xxx.datadigger;
  import android.provider.BaseColumns;
  
  public final class TableData
  {
      public TableData()
      {
  
      }
      public static abstract class TableInfo implements BaseColumns
      {
          public static final String DATABASE_NAME="user_info";
          public static final String TABLE_NAME="reg_info";
          public static final String KEY_ID = "id";
          public static final String USER_NAME = "user_name";
          public static final String USER_PASSWORD = "user_password";
          public static final String USER_CON = "user_con";
          public static final String USER_EMAIL = "user_email";
      }
  }
  </code></pre>
  
  <p>Here is where I attempt to create a table and insert data insert:</p>
  
  <pre><code>package com.example.xxx.datadigger;
  
  import android.app.ActionBar;
  import android.content.ContentValues;
  import android.content.Context;
  import android.database.sqlite.SQLiteDatabase;
  import android.database.sqlite.SQLiteOpenHelper;
  import android.util.Log;
  import android.widget.TabWidget;
  
  
  public class DatabaseOperations extends SQLiteOpenHelper{
       public static final int database_version = 2;
       private static final String TEXT_TYPE = " TEXT";
       private static final String COMMA_SEP = ", ";
       private static final String CREATE_QUERY = "CREATE TABLE "
                  + TableData.TableInfo.TABLE_NAME + " ("
                  + TableData.TableInfo.KEY_ID + " INTEGER PRIMARY KEY AUTOINCREMENT, "
                  + TableData.TableInfo.USER_EMAIL + TEXT_TYPE + COMMA_SEP
                  + TableData.TableInfo.USER_NAME + TEXT_TYPE + COMMA_SEP
                  + TableData.TableInfo.USER_PASSWORD + TEXT_TYPE + COMMA_SEP
                  + "); ";
  
      public DatabaseOperations(Context context) {
          super(context, TableData.TableInfo.DATABASE_NAME, null, database_version);
          Log.d("Database Operations", "Database created");
          }
  
      @Override
      public void onCreate(SQLiteDatabase sdb) {
  
          sdb.execSQL(CREATE_QUERY);
          Log.d("database Operations","Table created");
      }
  
      @Override
      public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
  
          }
      public void putInformation(DatabaseOperations dop, String name,String password,String email)
      {
          SQLiteDatabase SQ = dop.getWritableDatabase();
          ContentValues cv = new ContentValues();
          cv.put(TableData.TableInfo.USER_EMAIL, email);
          cv.put(TableData.TableInfo.USER_NAME,name);
          cv.put(TableData.TableInfo.USER_PASSWORD, password);
          //cv.put(TableData.TableInfo.USER_CON,con_password);
          SQ.insert(TableData.TableInfo.TABLE_NAME, null, cv);
          Log.d("database Operations","One raw inserted");
      }
  }
  </code></pre>