All Manuals > LispWorks® User Guide and Reference Manual > 45 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
Instructs connect to make a new connection even if connections to the same database already exist.
:warn-new
Instructs connect to make a new connection but warn about existing connections.
:error
Instructs connect to make a new connection but signal an error for existing connections.
:warn-old
Instructs connect to select an old connection if one exists (and warns) or make a new one.
:old
Instructs connect to select an old connection if one exists or make a new one.
See also

connect


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:56