Messages on this page are sorted by error number. Locate the appropriate error code in the table below.
Error Code | Type | Message | Possible Cause |
---|---|---|---|
2694 | Error | No OPEN for cursor '%1' | A cursor is declared, and possibly used, but is never opened. |
2695 | Error | No FETCH or PUT for cursor '%1' | A cursor is declared and opened, but is never used. |
2696 | Error | Host variable '%1' is in use more than once with different indicators | You have used the same host variable multiple times with different indicator variables in the same statement. This is not supported. |
2698 | Error | WCHAR and TCHAR host variable types are not supported | You have attempted to declare a host variable as a WCHAR or TCHAR string. These are only supported by UltraLite on Windows platforms. |
2699 | Error | char, WCHAR, and TCHAR string parameters cannot be mixed | You have attempted to use parameters to one statement that are not all char strings, WCHAR strings or TCHAR strings. String parameters (other than INTO and USING parameters) for one statement must all be the same type of string. Note that literal strings are treated as char strings. |
2701 | Error | FOR UPDATE or FOR READ ONLY clause must be specified on PREPARE (not on DECLARE CURSOR) | You specified the FOR UPDATE or FOR READ ONLY clause on a DECLARE CURSOR statement. The FOR UPDATE or FOR READ ONLY clause must be specified on the PREPARE statement and not the DECLARE CURSOR statement. For compatibility with previous versions (but with reduced performance), the sqlpp -m HISTORICAL option can be used to allow the FOR UPDATE or FOR READ ONLY clause on the DECLARE CURSOR statement. |