Retrieves diagnostic information for the previously executed statement. See the Get_Diagnostics help topic for a complete description.