Finding Byte Length of Underlying Unitext Data

Use sp_drv_unitext_locator_bytelength to find the byte length of a LOB column referenced by a unitext locator. sp_drv_unitext_locator_bytelength accesses the Transact-SQL function data_length.

Syntax

sp_drv_image_locator_bytelength locator, data_length

Input Parameters

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

Output Parameters

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

Result Set

None.