title: Truncating a table in a stored procedure
body: <p>When I run the following in an Oracle shell it works fine</p>
  
  <pre><code>truncate table table_name
  </code></pre>
  
  <p>But when I try to put it in a stored procedure</p>
  
  <pre><code>CREATE OR REPLACE PROCEDURE test IS
  BEGIN
      truncate table table_name;
  END test;
  /
  </code></pre>
  
  <p>it fails with</p>
  
  <pre><code>ERROR line 3, col 14, ending_line 3, ending_col 18, Found 'table', Expecting:  @   ROW  or   (   or   .   or   ;   :=
  </code></pre>
  
  <p>Why?</p>