create_locator

Explicitly creates a locator for a specified LOB then returns the locator.

The locator created by create_locator is valid only for the duration of the transaction containing the query that used create_locator. If no transaction was started, then the locator is valid only until the query containing the create_locator completes execution

Syntax

create_locator (datatype, lob_expression)

Parameters

Examples

Usage

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

Permissions

Any user can execute create_locator.

Related reference
locator_literal
locator_valid
return_lob