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

destroy-prepared-statement Function

Summary

Destroys a prepared-statement and frees its resources.

Package

sql

Signature

destroy-prepared-statement prepared-statement => nil

Arguments
prepared-statement
Description

The function destroy-prepared-statement destroys the prepared-statement prepared-statement and frees its resources. It should be called before closing the database associated with prepared-statement. A destroyed prepared-statement can be reused by calling set-prepared-statement-variables with a new database.

destroy-prepared-statement always returns nil.

See also

prepare-statement
with-prepared-statement
set-prepared-statement-variables
prepared-statement-set-and-execute


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