Olá pessoal. Faz um tempão que temos esse problema ao retornar o erro do sybase, então resolvi postar. O SqlGetErrorTextX retorna a descrição do erro cortada.
Ex:
A mensagem de erro

A column insert or update conflicts with a rule bound to the column. The command is aborted. The conflict occured in database 'contabil', table 'plano_contas', rule 'numero_positivo', column 'SALDO_ORCAM'.

 

Só aparece:

A column insert or update conflicts with a rule bound to the column. The command is aborted. The conflict occured in dat

O que fazemos?
 
Vladimir

Responder a