Messages 2569 through 2588

Messages on this page are sorted by Sybase error code. Locate the appropriate code in the table below, and click the link for a full description of the message.

Number Msg Type SQL State SQL Code Message Possible Cause
2569 Error WX011 -903L "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.

2570 Error 42W90 -904L "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.

2571 Error WX012 -905L "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.

2572 Error WX013 -906L "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.

2573 Error WX014 -907L "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.

2574 Error 55W14 -908L "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.

2575 Error 38W01 -910L "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.

2576 Error WX015 -911L "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.

2577 Error WX016 -912L "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.

2578 Error 42W91 -913L "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.

2579 Error 42W93 -914L "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.

2580 Error 42W92 -915L "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.

2581 Error 42W94 -916L "'%1' is an unrecognized service type" An unrecognized service type was specified.

Click here for a list of possible parameters and odbc states.

2582 Error 55W15 -924L "Service '%1' in use" You have attempted to drop a service that is currently in use.

Click here for a list of possible parameters and odbc states.

2583 Error 42W96 -918L "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.

2584 Error 42W97 -919L "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.

2585 Error 42W98 -920L "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.

2586 Error 42W99 -921L "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.

2587 Error 42W9A -922L "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.

2588 Error 57015 -923L "Too many recursive iterations" A recursive query ran for more iterations than allowed by the current max_recursive_iterations option setting.

Click here for a list of possible parameters and odbc states.


Created May 6, 2011. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com