SQLite刪除數據行後使用vacuum不影響rowid

在SQLite Expert 環境測試   如下圖,數據庫中數據表LogTable包含6條數據 select rowid,* from LogTable where rowid<100   刪除前2條數據後並運行vacuum指令,重新查詢結果如下圖,可見rowid不受delete和vacuum影響 delete from LogTable where rowid<3 vacuum select r
相關文章
相關標籤/搜索