Menu principal                 [Fechar]


SQL - SQLCODE's - Códigos negativos


Volta a página anterior

Volta ao Menu Principal


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


SQLCode -171

O tipo de dado, comprimento ou valor do argumento nn da function-name é inválido

Conclusão: Either the data type, the length or the value of argument nn of scalar function function-name is incorrect.

If the encoding scheme is EBCDIC or ASCII, a possible reason for this error is that a character argument was specified for a built-in function that expects a graphic argument, or a graphic argument was specified for a built-in function that expects a character argument. The UNICODE encoding scheme does support the mixing of character and graphic arguments.

Ação do sistema: The statement cannot be executed.

Resposta ao Desenvolvedor: Correct the statement. Refer to Chapter 3 of DB2SQL Reference for rules for each argument of the scalar function function-name.

SQLSTATE: 42815


© Copyright IBM Corp.