title: Delete all records from all tables of database
body: <p>Is there anyway to delete all records from all tables of a database yet keeping all the constraints.</p>
  
  <p>I used a script available on net but it fails where foreign keys are defined.</p>
  
  <p>Please provide step by step illustration as I'm new to databses.</p>
  
  <p>Thanks!</p>