![HP NonStop SQL/MX Messages Manual Download Page 187](http://html.mh-extra.com/html/hp/nonstop-sql-mx/nonstop-sql-mx_messages-manual_165150187.webp)
HP NonStop SQL/MX Messages Manual —640324-001
6 -1
6
Binder and Compilation Messages
(4000 through 4999)
SQL 4000
Cause. NonStop SQL/MX received an internal error in the query binder.
Effect. NonStop SQL/MX is unable to process this query.
Recovery. None. Report the entire message to your service provider.
SQL 4001
Cause. You referenced column
name1
, which NonStop SQL/MX could not find. The
table
name2
or tables in the scope of the column reference and the default schema
name3
appear.
A common reason for this error is that you have used double quotes instead of single
quotes. For example:
>>select * from tb where b >"b";
result in this error:
*** ERROR[4001] Column "b" is not found. Tables in scope:
CAT.SCH.TB. Default schema: CAT.SCH.
In this example, the user specified double quotes, which indicate a delimited identifier,
rather than single quotes, which indicate an alpha literal.
The user probably intended:
>>select * from tb where b >'b';-- alpha literal
or
>>select * from tb where b >"v";-- table tb (a int, b char, "v"
char)
Effect. The operation fails.
Recovery. Correct the syntax so that the table and column can be found, and
resubmit.
4000 Internal error in the query binder.
4001 Column
name1
is not found. Tables in scope:
name2
.
Default schema:
name3
.
Summary of Contents for NonStop SQL/MX
Page 4: ......
Page 8: ...Contents HP NonStop SQL MX Messages Manual 640324 001 iv ...
Page 26: ...General Messages 0 through 999 HP NonStop SQL MX Messages Manual 640324 001 2 2 ...
Page 130: ...SQL MX MXCMP Messages 2000 through 2999 HP NonStop SQL MX Messages Manual 640324 001 4 34 ...
Page 242: ...Normalizer Messages 5000 through 5999 HP NonStop SQL MX Messages Manual 640324 001 7 2 ...
Page 246: ...Optimizer Messages 6000 through 6999 HP NonStop SQL MX Messages Manual 640324 001 8 4 ...
Page 248: ...Generator Messages 7000 through 7999 HP NonStop SQL MX Messages Manual 640324 001 9 2 ...
Page 614: ...Utility Messages 20000 through 23099 HP NonStop SQL MX Messages Manual 640324 001 18 138 ...
Page 752: ...Non SQLCODE Error Messages HP NonStop SQL MX Messages Manual 640324 001 A 14 MXGNAMES Utility ...