sql command to drop everything

From: Bryan Irvine <bryan(dot)irvine(at)kingcountyjournal(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: sql command to drop everything
Date: 2003-12-06 01:04:25
Message-ID: 1070672665.3074.52.camel@elvis.horvitznewspapers.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Is there a SQL command to delete everything (including the tables) from
a db? Not a complete drop so that the db doesn't exist anymore, but
just so that there's nothing in it.

--Bryan

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message CoL 2003-12-06 01:07:46 Re: Auto commit Off how will it effect us ?
Previous Message Stephen Clancy 2003-12-05 20:47:47 pg_dump and pg_restore