locator_valid

Determines whether a LOB locator is valid.

Syntax

locator_valid (locator_descriptor)

Parameters

Examples

Usage

  • locator_valid returns 1 if the specified locator is valid. Otherwise, it returns 0 (zero).

  • A locator becomes invalid if invalidated by the deallocate lob command, or at the termination of a transaction.

See also deallocate locator, truncate lob in Reference Manual: Commands.

Permissions

Any user can execute locator_valid.

Related reference
create_locator
locator_literal
return_lob