Next Prev Up Top Contents Index

15.2.4.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 - 14 Dec 2001

Next Prev Up Top Contents Index