![HP NonStop SQL/MX Messages Manual Download Page 193](http://html.mh-extra.com/html/hp/nonstop-sql-mx/nonstop-sql-mx_messages-manual_165150193.webp)
Binder and Compilation Messages (4000 through
4999)
HP NonStop SQL/MX Messages Manual — 640324-001
6 -7
SQL 4021
Cause. You specified a select list that contains a nongrouping, nonaggregated column
name
, which is not supported.
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
SQL 4022
Cause. You specified column
name
more than once.
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
SQL 4023
Cause. You specified a statement, such as INSERT, in which a
row value
constructor does not equal the degree of the target table column list. For example:
INSERT INTO table (acol, bcol) VALUES (1, 2, 3);
is wrong because the number of columns does not match the number of values.
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
SQL 4024
Cause. You attempted to insert column
name
into a table, and the column has no
default value. For example:
INSERT INTO table (acol, bcol, ccol) VALUES (1, 2);
is wrong if ccol does not have a default value and you did not specify its value. The
column list is optional, but if you use it, you must explicitly specify values for columns
that do not have default values.
4021 The select list contains a nongrouping non-aggregated
column,
name.
4022 Target column
name
was specified more than once.
4023 The degree of each row value constructor (
value
) must
equal the degree of the target table column list (
value
).
4024 Column
name
has no default value, so it must be
explicitly specified in the insert column list.
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 ...