Finding Character Length of Underlying Unitext Data

Use sp_drv_unitext_locator_charlength to find the character length of a LOB column referenced by a unitext locator. sp_drv_unitext_locator_charlength accesses the Transact-SQL function char_length.

Syntax

sp_drv_unitext_locator_charlength locator, data_length

Input Parameters

locator – a unitext_locator that references the unitext column to manipulate.

Output Parameters

data_length – an integer specifying the character length of the unitext column referenced by locator.

Result Set

None.