Sets the values of the bind variables in a prepared-statement.
A database or
set-prepared-statement-variables sets the values of the bind variables in the prepared-statement prepared-statement to the objects in the list given by values. The length of values must equal the number of bind-variables in prepared-statement (that is, the supplied or computed count in prepare-statement). If database is supplied, then prepared-statement is (re)associated with that database.
If database is not supplied and the statement is not associated with a database yet,
set-prepared-statement-variables associates it with the default database *default-database*. If the statement was already associated and database is
nil, the association does not change.
LispWorks User Guide and Reference Manual - 20 Sep 2017