The function ora-lob-create-empty
creates an empty LOB object and returns a LOB locator for it.
If type is :lob
then ora-lob-create-empty
creates a LOB of type BLOB/CLOB. If type is any other value, it creates a file LOB. The default value of type is :lob
.
Empty LOBs can be put in the database by passing them to insert-records or update-records. However, the preferred approach is to use the Oracle SQL function EMPTY_BLOB as described in the section Inserting empty LOBs.
The default value of db is the value of *default-database*.
ora-lob-create-empty
is available only when the "oracle" module is loaded. See the section Oracle LOB interface for more information.
LispWorks User Guide and Reference Manual - 13 Feb 2015