Msg 182, Level 15, State 1, Line 5
Table and column names must be supplied for the READTEXT or WRITETEXT utility.
This error message appears when for a READTEXT or WRITEXT command either table- or column name is not supplied.
The SQL statement cannot be parsed and further execution is stopped.
Error of the Severity level 15 are generated by the user and can be fixed by the SQL Server user. The statement cannot be executed this way. You must supply both a table- and a column name.
All versions of SQL Server.
DECLARE @textpointer VARBINARY(16)
SELECT @textpointer = TEXTPTR(pr_info)
READTEXT pr_info @textpointer 1 25
In the above example we try to pass just the column name to the READTEXT command. This raises the error.