![HP NonStop SQL/MX Messages Manual Download Page 213](http://html.mh-extra.com/html/hp/nonstop-sql-mx/nonstop-sql-mx_messages-manual_165150213.webp)
Binder and Compilation Messages (4000 through
4999)
HP NonStop SQL/MX Messages Manual — 640324-001
6- 27
SQL 4107
Cause. In the source value list of INSERT, you specified DEFAULT for column
name
,
but there is no default value for that column.
Effect. The operation fails.
Recovery. Correct the syntax and resubmit.
SQL 4108
Cause. A
ROWS SINCE
function in your statement contained another sequence
function that, in turn, contained an invalid reference to the
THIS
function. Inside
ROWS
SINCE
, the
THIS
function must not appear inside any other sequence function.
Effect. The operation fails.
Recovery. Reword the query so that the expression inside the other sequence
function does not contain references to the
THIS
function.
SQL 4109
Cause. You specified a query that includes a SEQUENCE BY clause that contains an
illegally placed sequence function
name
. Sequence functions (such as RUNNINGSUM,
MOVINGSUM, LASTNOTNULL) are supported only in the select list or the HAVING
clause of the query expression containing the SEQUENCE BY clause. For example,
these queries are legal:
>>select a, runningcount(b) from T1 sequence by a;
>>select x from (select a, runningcount(b) from T1 sequence by
a) T2(x,y) where y > 10;
>>select count(*) from t1 sequence by b group by a having
runningsum(a) > count(*);
Effect. The operation fails.
4107 Column
name
has no default value, so DEFAULT cannot be
specified.
4108 Inside a ROWS SINCE, another sequence function contained
an invalid reference to the THIS function.
4109 Sequence functions are placed incorrectly:
name
.
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 ...