Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7509689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:59:35+00:00 2026-05-29T22:59:35+00:00

I am receiving an error when I am trying to insert data into a

  • 0

I am receiving an error when I am trying to insert data into a SQL DB. The error suggest that my uName column does not exist when its trying to insert data into that column. From my observation this column should be created. I may be missing something. another eye on this may be helpful.

LogCat:

01-23 20:20:15.532: E/Database(2322): Error inserting uName=xxxx wUrl=xxxxxxxx sName=xxxx pWord=xxxx

01-23 20:20:15.532: E/Database(2322): android.database.sqlite.SQLiteException: table infoTable has no column named uName: , while compiling: INSERT INTO infoTable(uName, wUrl, sName, pWord) VALUES(?, ?, ?, ?);

DB Creation:

        String sqlDataStore = "create table if not exists " +
        TABLE_NAME_INFOTABLE + " ("+ BaseColumns._ID + " integer 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);

Here is my class:

public class dataStore extends SQLiteOpenHelper {

//Table attributes
public static final String DATABASE_NAME = "SiteLogindb";
public static final int DATABASE_VERSION = 1;
public static final String TABLE_NAME_INFOTABLE = "infoTable";

// Data attributes
public static final String COLUMN_NAME_SITE = "sName";
public static final String COLUMN_NAME_ADDRESS = "wUrl";
public static final String COLUMN_NAME_USERNAME = "uName";
public static final String COLUMN_NAME_PASSWORD = "pWord";


public dataStore(Context context) {
        super(context, DATABASE_NAME, null, DATABASE_VERSION);
        // TODO Auto-generated constructor stub
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:59:36+00:00Added an answer on May 29, 2026 at 10:59 pm

    issue was resolved by deleting database from emulator.

    Go to DDMS then go to file explorer then open data–>—>data–> then your package —> then database and here you have your database and you can delete it by clicking minus “-” sign from top right.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to insert some values into an SQL database, but continuously receiving
im trying to make an insert to my Database and im receiving an error,
Background I'm receiving the following error when trying to render a partial view in
I'm trying to implement my own GenericIdentity implementation but keep receiving the following error
I am not sure what the problem is but I keep receiving this error
I'm receiving this error when trying to see a report.
I am receiving this error when trying to execute applescript from my java application.
Im receiving error C2082: redefinition of formal parameter 'rval' in this code while trying
Hi im trying to execute the following PHP code, however im receiving an error.
Im receiving this error when trying to compile my code. $ g++ -o BangBangControlTest

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.