Next Prev Up Top Contents Index

disconnect

Function
Summary

Closes a connection to a database.

Package

sql

Signature

disconnect &key database => nil

Arguments

database

A database.

Values

nil

Description

The function disconnect closes a connection to a database specified by database and resets *default-database* if the database is successfully disconnected and only one other connection exists.

Example

(disconnect :database "test")

See also

connect
connected-databases
database-name
find-database
status


LispWorks Reference Manual (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index