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 9234139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:43:10+00:00 2026-06-18T06:43:10+00:00

In Android SQLite I had one table MyTable . By mistake I dropped it

  • 0

In Android SQLite I had one table MyTable. By mistake I dropped it after upgrade the DB.

How can I ROLL BACK that dropped table if it’s possible.

Any good answer will be accepted.

Thanks.

  • 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-18T06:43:11+00:00Added an answer on June 18, 2026 at 6:43 am

    Dropping tables is not a recoverable action, unless performed as part of a transaction that is rolled back (which appears to be not the scenario for your particular case).

    From the SQLite documentation:

    The DROP TABLE statement removes a table added with the CREATE TABLE statement. The name specified is the table name.

    The dropped table is completely removed from the database schema and the disk file. The table can not be recovered. All indices and triggers associated with the table are also deleted.

    That’s not quite the complete picture, as the behaviour under rolled-back transaction can be seen with (tested on https://sqliteonline.com/):

    drop table if exists paxtable;
    create table paxtable (paxcolumn integer);
    insert into paxtable values (42);
    begin transaction;
    drop table paxtable;
    rollback;
    select paxcolumn from paxtable;
    

    That shows that the table still exists after the rollback. If you commit rather than roll back (or if you remove the transactional control altogether), the table has died, expired, gone to meet its maker, shuffled off this mortal coil, <insert your favourite metaphor here>.

    So, since you didn’t do it as part of a rolled-back transaction (as evidenced by the fact the table has actually gone), you’ll need to re-create it from scratch (or from backups if possible).

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

Sidebar

Related Questions

I have one problem with Android SQLite database. I have one table which contains
i had a problem about LIKE statement in sqlite android . i used one
I'm trying to retrive data from android sqlite database but its givine exception that
Platform: SQLite on Android. Problem: table has three columns - id, title and order.
I'm having problems with inserting values into my Android SQLite database's table. I've already
This is about Android and SQLite database. Simply, I want to know, how can
I am working in Android with SQLite. My db has 2 tables: Table 1:
I have this table in my Android SQLite DB: CREATE TABLE statistics (subject TEXT,
I was reading the Android SQLite NotePad tutorial that referenced creating a DB Adapter
I want to know one thing in android sqlite. I created my database in

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.