Use sp_drv_image_locator_bytelength to finds the byte length of a LOB column referenced by an image locator. sp_drv_image_locator_bytelength accesses the Transact-SQL function data_length.
sp_drv_image_locator_bytelength locator, data_length
locator – an image_locator that references the image column to manipulate.
data_length – an integer specifying the byte length of the image column referenced by locator.
None.