SQLIte DROP table ROLL back

In Android SQLite, I had one table MyTable. By mistake, I reset it after updating the database.

How can I draw a ROLL BACK to reset the table, if possible.

Any good answer will be accepted.

Thank.

+5
source share
2 answers

Dropping tables is not a recoverable action.

From the SQLite documentation :

The DROP TABLE statement deletes a table added using the CREATE TABLE statement. The specified name is the name of the table.

The dropped table has been completely removed from the database schema and disk file. The table cannot be restored. All indexes and triggers associated with the table are also deleted.

, (, , ).

+2

, .

DML, "" "" ( ).

, DDL, "alter table" "drop table".

:

DROP TABLE , CREATE TABLE . - . . . , .

PS:

"DDL", "DML" , :

+3

All Articles