Next Prev Up Top Contents Index

16.2.5.1 Connection example

The following example assumes that the sql package has been loaded, and that the :odbc database type has been initialized. It connects to two databases, scott and personnel , and then prints out the connected databases.

(setf *default-database-type* :odbc)
(connect "scott")
(connect "personnel" :database-type :odbc)
(print *connected-databases*)

LispWorks User Guide - 18 Feb 2003

Next Prev Up Top Contents Index