Use FireDAC of FDConnection, the following code can either create direct data file with a password, or you can open the data file that already exists.
FDConnection.Open ( 'DriverID = SQLite; Database = idb; Password = ipassword');
parameters inside the idb and ipassword into your data file name (path) and password.
The rest of the operation, FDQuery or FDTable, I'll leave the
SqLite password access (06)
Guess you like
Origin www.cnblogs.com/tulater/p/12573620.html
Recommended
Ranking