Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
char * sqlerror_message( SQLCA * sqlca, char * buffer, int max );
返回到包含错误消息的字符串的指针。错误消息包含 SQLCA. 中的错误代码的文本。如果没有指出错误,则返回空指针。将错误消息置于提供的缓冲区中,如有必要则将其截至长度 max。