Messages on this page are sorted by SQLCODE. Locate the appropriate code in the table below, and click the link for a full description of the message.
SQL Code | Msg Type | Number | SQL State | Message | Possible Cause |
---|---|---|---|---|---|
-901L | Error | 2567 | WX009 | "Undeclared tag ID: '%1'" | Every value appearing in the Tag column of the table must be declared in the TagNumber field of at least one column name. Click here for a list of possible parameters and odbc states. |
-902L | Error | 2568 | WX010 | "Too few columns" | FOR XML EXPLICIT requires at least three columns: the tag column, the parent column, and one or more data columns. Click here for a list of possible parameters and odbc states. |
-903L | Error | 2569 | WX011 | "CDATA has a name" | A CDATA directive in a FOR XML EXPLICIT query must not be given a name. Click here for a list of possible parameters and odbc states. |
-904L | Error | 2570 | 42W90 | "Illegal ORDER BY in aggregate function" | An ORDER BY can be used in an aggregate function only if there are no DISTINCT aggregates in the SELECT list, or there is a single DISTINCT aggregate with the DISTINCT column equal to the first column of the ORDER BY. Also, multiple ordered aggregates cannot be used in the same SELECT list unless they have the exact same ORDER BY clause. Click here for a list of possible parameters and odbc states. |
-905L | Error | 2571 | WX012 | "Invalid XQuery constructor" | The XQuery constructor passed as the first argument to XMLGEN was not valid. Click here for a list of possible parameters and odbc states. |
-906L | Error | 2572 | WX013 | "XMLGEN evaluation failure" | One of the variables referenced in the XQuery constructor was not found in the list of arguments. Click here for a list of possible parameters and odbc states. |
-907L | Error | 2573 | WX014 | "No name for argument" | Unnamed arguments cannot be used as XML element or attribute names. Name unnamed items in the argument list using AS. Click here for a list of possible parameters and odbc states. |
-908L | Error | 2574 | 55W14 | "Invalid operation on a closed object" | An illegal attempt was made to access a closed UltraLite object. Click here for a list of possible parameters and odbc states. |
-910L | Error | 2575 | 38W01 | "System command failed with return code %1" | A non-zero return code resulted when executing a system command. Click here for a list of possible parameters and odbc states. |
-911L | Error | 2576 | WX015 | "Control character in XML output" | A non-space character less than hex 20 was encountered while generating XML content. Consider base64 encoding strings that contain control characters before using them as XML content. This can be accomplished in a FOR XML query or SQLX function by casting the string to a type such as LONG BINARY. Click here for a list of possible parameters and odbc states. |
-912L | Error | 2577 | WX016 | "Insufficient memory for OPENXML query" | The memory used by an OPENXML query may be proportional to the maximum distance between elements or attributes returned by a single row. For example, a query where some row uses the value from both the first and last element in the document may use memory proportional to the size of the document. One solution is to increase the cache size. Another is to break a query that refers to distant elements into several queries that refer to nearby elements and join the results. Click here for a list of possible parameters and odbc states. |
-913L | Error | 2578 | 42W91 | "A transaction log file is required for auditing" | This database is running without a transaction log file. You must use the Transaction Log utility (dblog) to create a transaction log file before using auditing. Click here for a list of possible parameters and odbc states. |
-914L | Error | 2579 | 42W93 | "Cycle in common table expression references" | Cycles involving multiple common table expressions are not allowed. Click here for a list of possible parameters and odbc states. |
-915L | Error | 2580 | 42W92 | "Service type required for CREATE SERVICE" | The CREATE SERVICE statement requires a service type to be specified. Click here for a list of possible parameters and odbc states. |
-916L | Error | 2581 | 42W94 | "'%1' is an unrecognized service type" | An unrecognized service type was specified. Click here for a list of possible parameters and odbc states. |
-918L | Error | 2583 | 42W96 | "A user name must be specified if AUTHORIZATION is Off" | A valid user name must be specified if AUTHORIZATION is Off. Click here for a list of possible parameters and odbc states. |
-919L | Error | 2584 | 42W97 | "Service '%1' already exists" | You have attempted to create a service with a name that already exists in the database. Click here for a list of possible parameters and odbc states. |
-920L | Error | 2585 | 42W98 | "Service '%1' not found" | You have attempted to reference a service with a name that does not exist in the database. Click here for a list of possible parameters and odbc states. |
-921L | Error | 2586 | 42W99 | "Invalid recursive query" | A recursive query must consist of the UNION ALL of an initial query and an iteration query. The only set operation allowed in the iteration query is UNION ALL. A recursive reference to the name of the common table expression can only appear in the iteration query, and must not be in a SELECT that uses DISTINCT, ORDER BY, or an aggregate function. A recursive reference also cannot appear on the NULL-supplying side of an outer join, or in a subquery. Click here for a list of possible parameters and odbc states. |
-922L | Error | 2587 | 42W9A | "No column list for recursive query" | A common table expression defining a recursive query must have a column list. Click here for a list of possible parameters and odbc states. |