Run vacuum SQLite
Run vacuum SQLite
Is it possible to do a vacuum on a SQLite database via UniDac?
Hello,
You can call the VACUUM command in the following way:
or use PRAGMA for setting auto_vacuum
You can call the VACUUM command in the following way:
Code: Select all
UniConnection1.ExecSQL('VACUUM',[]);Code: Select all
UniConnection1.ExecSQL('PRAGMA auto_vacuum = 1',[]); // 0 | NONE | 1 | FULL | 2 | INCREMENTAL