Obtaining a substring from a text locator

Use sp_drv_text_substring which accesses the Transact-SQL function substring.

Syntax

sp_drv_text_substring locator, start_position, length

Input Parameters

Output Parameters

None.

Result Set

A column of type text containing the substring retrieved.