Aviso importante


  C. A. Dornelles

SQL - SQLCODE's - Códigos positivos


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF.

SQLCode +331
THE NULL VALUE HAS BEEN ASSIGNED TO A HOST VARIABLE BECAUSE THE STRING CANNOT BE TRANSLATED. REASON reason-code, CHARACTER code-point, HOST VARIABLE position-number

Causa
A string assigned to a host variable had to be translated from its coded character set to the coded character set of the host variable and an error occurred during the translation. The position-number is the ordinality of the host variable in the SQLDA. See the description of SQLCODE -331 for further information including the meaning of the reason-code and code-point.

Ação do sistema
The host variable is unchanged and its indicator variable is set to -2 to indicate that a null value is returned. Execution of the statement continues as if the translation error had not occurred.

SQLSTATE: 01520