READTEXT
reads a byte/char range of a LOB (deprecated)
What changes
- Input
- text/ntext/image value by text pointer
- Output or change
- result set chunk
Syntax at a glance
READTEXT { table.column text_ptr offset size } [ HOLDLOCK ]
Work example
A legacy module still reads a text or image value by pointer and offset.
Treat this as legacy maintenance. Check the Microsoft retirement note and plan a tested migration to supported large-value access before extending the code.
Check your work READTEXT. The change review records the current pointer behavior and a replacement plan. No new READTEXT use is added.
Open Microsoft Learn for full syntax, permissions, and details for your version.