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

ora-lob-char-set-id Function

Summary

Returns the database character set identifier of a LOB.

Package

sql

Signature

ora-lob-char-set-id lob-locator &key errorp => db-charset-id

Arguments
lob-locator
A LOB locator.
errorp
A generalized boolean.
Values
db-charset-id
A non-negative number.
Description

The function ora-lob-char-set-id returns the database charactor set identifier of the LOB underlying lob-locator.

db-charset-id is 0 for a binary LOB.

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.

Notes
  1. This is a direct call to OCILobCharSetID.
  2. ora-lob-char-set-id 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