Initializing a Text Locator

Use sp_drv_create_text_locator to create a text_locator and optionally initialize it with a value. sp_drv_create_text_locator accesses the Transact-SQL function create_locator.

Syntax

sp_drv_create_text_locator [init_value]

Input Parameters

init_value – a varchar or text value used to initialize the new locator.

Output Parameters

None.

Result Set

A column of type text_locator. The LOB that the locator references has init_value when supplied.