Table and column names must be supplied for the READTEXT or WRITETEXT utility.

Error Message:
Msg 182, Level 15, State 1, Line 5
Table and column names must be supplied for the READTEXT or WRITETEXT utility.

Severity level:
15.

Description:
This error message appears when for a READTEXT or WRITEXT command either table- or column name is not supplied.

Consequences:
The SQL statement cannot be parsed and further execution is stopped.

Resolution:
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.

Versions:
All versions of SQL Server.

Example(s):
USE pubs
DECLARE @textpointer VARBINARY(16)
SELECT @textpointer = TEXTPTR(pr_info)
  FROM pub_info
READTEXT pr_info @textpointer 1 25

Remarks:
In the above example we try to pass just the column name to the READTEXT command. This raises the error.




Array

No comments yet... Be the first to leave a reply!