as the title suggest, I doubt what happen if there is something that reference to the table being dropped, e.g., index of some fields of the table. Does SQLite handle this automatically? Are there any instances that database owner should be aware before execute the drop command?
1 に答える
1
家事は不要だと思います。SQLite はそれらを自動的に処理します。コマンドを実行するたびにDROP TABLE
、そのテーブルのテーブル定義とすべての関連データ、インデックス、トリガー、制約、およびアクセス許可が削除されます。また、テーブルはこれ以上復元できないことに注意してください。
詳細については、以下のリンクにアクセスしてください DROP TABLEおよびSQLite - DROP Table
于 2013-10-01T16:21:30.457 に答える