| |
- Causa
- Declaração de SQL inaceitável
Esta declaração de SQL não é aceita pelo DB2. Uma das seguintes situações pode estar ocorrendo:
- An attempt has been made to PREPARE or EXECUTE IMMEDIATE an SQL statement that cannot be prepared; refer to the proper SQL statement
in
DB2 SQL Reference
- A declaração SQL incluída não suportada pelo DB2.
- A declaração referenciada é um CURSOR não declarado.
- An attempt was made to prepare an ALLOCATE CURSOR statement but the statement identifier is already associated with a declared cursor.
- Ação do sistema
- Ação do sistema: O comando não pode ser executado.
- Resposta ao Desenvolvedor
- If the situation involves an SQL statement that cannot be prepared, the problem is in the source of the SQL
statement, not the application program.
Thus, no action is necessary unless the source of the SQL statement is the application program itself.
If the situation involves an SQL statement that is not supported by DB2, remove it from the application program and precompile again.
If the situation involves an invalid PREPARE of an ALLOCATE CURSOR statement, change the application program to use a statement identifier
that is not associated with a declared cursor.
SQLSTATE: 42612
© Copyright IBM Corp.
|
| |