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

  • Home
  • SEARCH
  • 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 8074255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:35:41+00:00 2026-06-05T14:35:41+00:00

I have one table working(one called DATABASE_CREATE1) and that table still works but when

  • 0

I have one table working(one called DATABASE_CREATE1) and that table still works but when i try to insert data into the second table i get this error no idea how to fix it tryed for ages on how to fix it but had no luck any ideas:

06-13 23:56:21.179: E/Database(8840): android.database.sqlite.SQLiteException: table quick_mute has no column named row_id_quick_mute: , while compiling: INSERT INTO quick_mute(row_id_quick_mute, alarm_id) VALUES(?, ?);
06-13 23:56:21.179: E/Database(8840):   at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
06-13 23:56:21.179: E/Database(8840):   at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:92)
06-13 23:56:21.179: E/Database(8840):   at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:65)
06-13 23:56:21.179: E/Database(8840):   at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:83)
06-13 23:56:21.179: E/Database(8840):   at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:41)
06-13 23:56:21.179: E/Database(8840):   at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1149)
06-13 23:56:21.179: E/Database(8840):   at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1569)
06-13 23:56:21.179: E/Database(8840):   at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1426)
06-13 23:56:21.179: E/Database(8840):   at com.seanoneill.android.SilentPhone.DatabaseStore.createQuickMuteEntry(DatabaseStore.java:316)
06-13 23:56:21.179: E/Database(8840):   at com.seanoneill.android.SilentPhone.HoldsEverything$1.onClick(HoldsEverything.java:163)
06-13 23:56:21.179: E/Database(8840):   at android.view.View.performClick(View.java:2485)
06-13 23:56:21.179: E/Database(8840):   at android.view.View$PerformClick.run(View.java:9080)
06-13 23:56:21.179: E/Database(8840):   at android.os.Handler.handleCallback(Handler.java:587)
06-13 23:56:21.179: E/Database(8840):   at android.os.Handler.dispatchMessage(Handler.java:92)
06-13 23:56:21.179: E/Database(8840):   at android.os.Looper.loop(Looper.java:123)
06-13 23:56:21.179: E/Database(8840):   at android.app.ActivityThread.main(ActivityThread.java:3729)
06-13 23:56:21.179: E/Database(8840):   at java.lang.reflect.Method.invokeNative(Native Method)
06-13 23:56:21.179: E/Database(8840):   at java.lang.reflect.Method.invoke(Method.java:507)
06-13 23:56:21.179: E/Database(8840):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:874)
06-13 23:56:21.179: E/Database(8840):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:632)
06-13 23:56:21.179: E/Database(8840):   at dalvik.system.NativeStart.main(Native Method)

code:

private static final String DATABASE_CREATE =
    "create table " + DATABASE_TABLE_QUICK + " ("
    + kEY_ROWID_QUICK_MUTE + "text not null, "
    + END_TIME_QUICK  + " text not null,"
    + ALARM_ID_QUICK + " text not null );";

private static final String DATABASE_CREATE1=
    "create table " + DATABASE_TABLE + " ("
    + kEY_ROWID + " integer primary key autoincrement, "
    + END_KEY_TIME  + " text not null,"
    + START_TIME_12_HOUR  + " text not null,"
    + END_TIME_12_HOUR  + " text not null,"
    + COVERT_DAYS + " text not null,"
    + KEY_STATE  + " text not null,"
    + MUTE_TITLE + " text not null, "
    + ALARM_MODE + " text not null, "
    +ALARM_ID+ " text not null,"
    + START_KEY_TIME  + " text not null  );";

creating database

@Override
public void onCreate(SQLiteDatabase db) {
    db.execSQL(DATABASE_CREATE);
    db.execSQL(DATABASE_CREATE1);
}

here is code for insert into database

public void createQuickMuteEntry(String endTime, String alarmid) {
    ContentValues initialValues = new ContentValues();
    initialValues.put(kEY_ROWID_QUICK_MUTE, endTime ); /
    initialValues.put(ALARM_ID, alarmid);
    databaseConnect.insert(DATABASE_TABLE_QUICK, null, initialValues);
}

Insert statment

getDatabaseInfo.createQuickMuteEntry("dfdf", "dfdf");

update:
//quick mute

public static final String END_TIME_QUICK = "quick_mute_end_time"; 
public static final String ALARM_ID_QUICK = "quick_mute_id";
public static final String kEY_ROWID_QUICK_MUTE = "row_id_quick_mute";
  • 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-06-05T14:35:43+00:00Added an answer on June 5, 2026 at 2:35 pm

    From the error message:

    SQLiteException: table quick_mute has no column named row_id_quick_mute: , while compiling: INSERT INTO quick_mute(row_id_quick_mute, alarm_id) VALUES(?, ?);
    

    you missed out column:

    row_id_quick_mute
    

    in table

    quick_mute
    

    Upon further inspection, this is caused by faulty CREATE syntax.

    Take a look at this code:

    private static final String DATABASE_CREATE =
        "create table " + DATABASE_TABLE_QUICK + " ("
        + kEY_ROWID_QUICK_MUTE + "text not null, "
        + END_TIME_QUICK  + " text not null,"
        + ALARM_ID_QUICK + " text not null );";
    

    You should notice that in this line:

    + kEY_ROWID_QUICK_MUTE + "text not null, "
    

    the text part is right next to ", without space between it.

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

Sidebar

Related Questions

I have a successful query that currently returns all data except for one table.
I have one table that has two fields - ID1 and ID2 ID1 can
I have one table that has sales records and another table that has additional
I have one table, t1, which has fileds called userid, week and year fields.
I have one table, e.g. pricerules, that have stored special prices by article for
I have a database table called user where I have some columns. One of
I have a web page that shows a table of data. My page has
I have one table which contains events and dates, and another which contains the
I have one table having ID and other attributes. How can I get list
I have one table containing user sessions and another to indicate violations in the

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.