<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="sys-statements-with-errors-or-warnings">
      </a>
      30.4.3.36 The statements_with_errors_or_warnings and
x$statements_with_errors_or_warnings Views
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045062166208">
  </a>
  <a class="indexterm" name="idm46045062164752">
  </a>
  <a class="indexterm" name="idm46045062163248">
  </a>
  <a class="indexterm" name="idm46045062161728">
  </a>
  <p>
   These views display normalized statements that have produced
          errors or warnings. By default, rows are sorted by descending
          error and warning counts.
  </p>
  <p>
   The
   <a class="link" href="sys-statements-with-errors-or-warnings.html" title="30.4.3.36 The statements_with_errors_or_warnings and x$statements_with_errors_or_warnings Views">
    <code class="literal">
     statements_with_errors_or_warnings
    </code>
   </a>
   and
   <a class="link" href="sys-statements-with-errors-or-warnings.html" title="30.4.3.36 The statements_with_errors_or_warnings and x$statements_with_errors_or_warnings Views">
    <code class="literal">
     x$statements_with_errors_or_warnings
    </code>
   </a>
   views have these columns:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <code class="literal">
       query
      </code>
     </p>
     <p>
      The normalized statement string.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       db
      </code>
     </p>
     <p>
      The default database for the statement, or
      <code class="literal">
       NULL
      </code>
      if there is none.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       exec_count
      </code>
     </p>
     <p>
      The total number of times the statement has executed.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       errors
      </code>
     </p>
     <p>
      The total number of errors produced by occurrences of the
              statement.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       error_pct
      </code>
     </p>
     <p>
      The percentage of statement occurrences that produced
              errors.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       warnings
      </code>
     </p>
     <p>
      The total number of warnings produced by occurrences of
              the statement.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       warning_pct
      </code>
     </p>
     <p>
      The percentage of statement occurrences that produced
              warnings.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       first_seen
      </code>
     </p>
     <p>
      The time at which the statement was first seen.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       last_seen
      </code>
     </p>
     <p>
      The time at which the statement was most recently seen.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       digest
      </code>
     </p>
     <p>
      The statement digest.
     </p>
    </li>
   </ul>
  </div>
 </div>
 <br/>
</div>
