Next Previous Up Top Contents Index

16 The SQL Package

*connect-if-exists*

Variable

Summary

The default value for the if-exists keyword of the connect function.
Package

sql

Initial Value

:error

Description

The variable*connect-if-exists* is the default value for the if-exists keyword of the connect function. It can take the following values:
:new

Instructsconnect to make a new connection even if connections to the same database already exist.

:warn-new

Instructsconnect to make a new connection but warn about existing connections.

:error

Instructsconnect to make a new connection but signal an error for existing connections.

:warn-old

Instructsconnect to select an old connection if one exists (and warns) or make a new one.

:old

Instructsconnect to select an old connection if one exists or make a new one.

See also

connect

LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker