Messages 2226 through 2246

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
2226 Error 52W21 -623L "Data definition statements not allowed in procedures or triggers" The procedure or trigger definition contains a data definition statement (such as CREATE, DROP, GRANT, REVOKE, or ALTER). These statements are not allowed within procedures or triggers.

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

2227 Error WW009 -624L "Expression has unsupported data type" Either an external function or Java method is declared to have a parameter or result data type that is not supported, or a Java field reference with an unsupported result type was attempted.

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

2228 Error WW010 -625L "Too many parameters to this external procedure call" There is a maximum of 256 parameters to an external function call in 32-bit Windows.

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

2229 Error WW011 -626L "A thread used internally could not be started" This is a Windows 95 specific error. An operating system thread could not be started that is required to execute external functions.

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

2230 Error 0AW03 -627L "Disallowed language extension detected in syntax near '%1' on line %2" The statement you are trying to execute contains syntax that is not allowed with the current setting of the option sql_flagger_error_level. Modify the offending statement or set the sql_flagger_error_level option to a different value.

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

2231 Error 22012 -628L "Division by zero" A division by zero operation was detected.

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

2232 Error 22019 -629L "Invalid escape character '%1'" The escape character string length must be exactly one.

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

2233 Error 22025 -630L "Invalid escape sequence '%1'" A LIKE pattern contains an invalid use of the escape character. The escape character may only precede the special characters '%', '_', '[', and the escape character itself.

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

2234 Error WW012 -631L "RAISERROR executed: %1" A RAISERROR statement has been executed. The string associated with the RAISERROR statement is included in the text of the error message.

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

2235 Error 44000 -632L "WITH CHECK OPTION violated for insert/update on base table '%1'" You attempted an insert or update operation on the indicated base table through a view (possibly nested). However, one or more values in the modified row(s) triggered a WITH CHECK OPTION violation. This violation occurs when a modified value causes one or more rows to fall outside the range of the view by making the view's WHERE clause evaluate to FALSE or UNKNOWN for that row.

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

2236 Error 42W30 -633L "Update operation attempted on a read-only cursor" You attempted an update operation on a cursor that was explicitly declared as read-only.

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

2237 Error 22024 -634L "Unterminated C string" The last byte of a C string host variable must contain the null character.

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

2238 Warning 01W07 107L "Language extension detected in syntax near '%1' on line %2" The statement you are executing contains syntax that is not allowed with the current setting of the option SQL_FLAGGER_WARNING_LEVEL. Modify the offending statement or set the SQL_FLAGGER_WARNING_LEVEL option to a different value.

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

2240 Error 52W22 -635L "GRANT of column permission on view not allowed" You cannot grant permissions on columns for views.

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

2241 Warning 01003 109L "Null value eliminated in aggregate function" The expression argument of the aggregate function evaluated to NULL for one or more rows.

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

2242 Error 42W40 -636L "Duplicate referencing column" You supplied a duplicate column name in the list of referencing columns.

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

2243 Error 42W41 -637L "Duplicate insert column" You supplied a duplicate column name in the list of insert columns.

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

2244 Error 22001 -638L "Right truncation of string data" Non-space characters were truncated upon the assignment of string data.

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

2245 Error 42W42 -639L "Parameter name missing in call to procedure '%1'" Positional parameters were specified after named parameters in a call to this procedure.

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

2246 Error 07009 -640L "Invalid descriptor index" The index number used with respect to a descriptor area is out of range.

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