SQLite Forum

SQLITE_MAX_ATTACHED;
Login
The SQLite CLI is an SQLite Application designed and maintained by the author of the SQLite database engine for performing the rudimentary task of passing SQL commands to the SQLite3 database engine and processing them **in a known and deterministic manner** independent of the *feelings and failings (if they exist)* of others who may write other applications which pass SQL commands to the SQLite database engine for processing, for the purpose of allowing diagnostics on the SQLite database engine.

As such it has RUDIMENTARY application features which are designed to allow this goal to be met and is not a "full featured" application for doing anything at all.

The way to determine or change the limit with respect to the number of attached databases permitted by a specific implementation of the SQLite database engine is for the **application** to use the sqlite3_limit(...) C-API for this purpose.

<https://sqlite.org/c3ref/limit.html>

The current SQLite CLI application has no need to manipulate these limits and therefore does not provide a user interface to do so.

If your application needs to manipulate or determine the operational limits which the SQLite engine was compiled, your application should have recourse to the applicable API for carrying out that task.