title: Delete all the records from a table
body: <p>How can we delete all the records from a table in DELPHI? we are not allowed to use loop like this:</p>
  
  <pre><code>for k:=1 to table1.recordcount do
      begin
        table1.Last;
        table1.Delete;
      end;
  </code></pre>
  
  <p>is there any solutions?</p>