Multiple choice technology databases

GET DIAGNOSTICS

  1. Is used to obtain info about the previous executed sql statement

  2. Analyze the db2diag error messages

  3. Returns the user ID calling the stored proc

  4. Gives the access plan of the packages

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

GET DIAGNOSTICS is a SQL statement used to retrieve diagnostic information about the most recently executed SQL statement, including error codes, warnings, and exception conditions. It does not analyze db2diag logs, return user IDs, or provide access plans.