Creates a temporary LOB.
sql
ora-lob-create-temporary db-or-lob-locator &key errorp cache session-duration clob-p => lob-locator
db-or-lob-locator⇩ |
A database or a LOB locator. |
errorp⇩ |
A generalized boolean. |
cache⇩ |
A generalized boolean. |
session-duration⇩ |
A generalized boolean. |
clob-p⇩ |
A generalized boolean. |
lob-locator |
A LOB locator. |
The function ora-lob-create-temporary
creates a temporary LOB.
db-or-lob-locator specifies the database to associate the new LOB with. If it is a LOB locator the database from which the LOB locator came is used.
If an error occurs and errorp is true, an error is signaled. If errorp is false, the function returns an object of type sql-database-error. The default value of errorp is nil
.
cache specifies whether to use a cache or not. The default value of cache is nil
.
session-duration specifies the lifetime: if it is true then it uses OCI_DURATION_SESSION, otherwise it uses OCI_DURATION_CALL. The default value of session-duration is t
.
If clob-p is true then the new LOB is a CLOB, otherwise it is a BLOB. The default value of clob-p is nil
.
The new temporary LOB locator is returned.
ora-lob-create-temporary
is available only when the "oracle" module is loaded. See the section 23.11 Oracle LOB interface for more information.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:56