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
create_locator (datatype, lob_expression)
text_locator
unitext_locator
image_locator
select create_locator(text_locator, convert (text, "abc"))
declare @v text_locator select @v = create_locator(text_locator, textcol) from my_table where id=10
See also deallocate locator, truncate lob in Reference Manual: Commands.
Any user can execute create_locator.