Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   SQL Statements >

GET DIAGNOSTICS

Use the GET DIAGNOSTICS statement to return diagnostic information about the most recently executed SQL statement.

Use this statement with ESQL/C.

Syntax

Read syntax diagramSkip visual syntax diagram                                           (1)
>>-GET DIAGNOSTICS--+-| Statement Clause |------+--------------><
                    |                      (2)  |
                    '-| EXCEPTION Clause |------'
 
Notes:
  1. See Statement Clause
  2. See EXCEPTION Clause

Usage

The GET DIAGNOSTICS statement retrieves specified status information that the database server records in a structure called the diagnostics area. Using GET DIAGNOSTICS does not change the contents of the diagnostics area.

The GET DIAGNOSTICS statement uses one of the following two clauses:

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]