Obtain diagnostic information after an SQL statement

After your program executes an SQL statement, the database server returns information about the success of the statement. This section summarizes the following information:
  • The types of diagnostic information that are available to the program
  • The two methods that your program can use to obtain diagnostic information