What should the program do when calling the ODBC functions and the returned SQL code is SQL_ERROR or SQL_SUSSESS_WITH_INFO? Does it need error handling?
Yes, the program should do error handling. First, customer can use the SQLERROR() to get the details about the error massage, Then use different methods to the different program in different compute language. To the Java program use SQLException
or SQLWarning to deal with, and to the VC program is different.