The function initialize-database-type
initializes a database type by loading code and appropriate database libraries according to the value of database-type. If *default-database-type* is not initialized, this function initializes it. It adds database-type to the list of initialized types. The initialized database type is returned.
The following example shows how to use initialize-database-type
to initialize the :odbc
database type.
(require "odbc")
(in-package sql)
(setf *default-database-type* :odbc)
(initialize-database-type)
(print *initialized-database-types*)
The ODBC database type is now initialized, and connections can be made to ODBC databases.
LispWorks User Guide and Reference Manual - 13 Feb 2015