TEXTVALID
legacy LOB pointer function (deprecated)
What changes
- Input
- text/ntext/image column
- Output or change
- text pointer or validity flag
- Return type
- int
Syntax at a glance
TEXTVALID ( 'table.column' ,text_ ptr )
Work example
Read legacy code that checks a text pointer before operating on a text or image value.
Review the surrounding old large-object workflow and migrate it to a max type when practical.
Check your work TEXTVALID is tied to deprecated text and image types and is not a general validity check.
Open Microsoft Learn for full syntax, permissions, and details for your version.