All Manuals > LispWorks User Guide and Reference Manual > 47 The SQL Package

NextPrevUpTopContentsIndex

*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 - 13 Feb 2015

NextPrevUpTopContentsIndex