The GET DIAGNOSTICS statement obtains information about the previous SQL statement that was executed. The syntax of GET DIAGNOSTICS in an SQL function, SQL procedure, or SQL trigger is a subset of what is supported as a GET DIAGNOSTICS statement in other contexts. See GET DIAGNOSTICS for details.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.