Re: truncate all tables?

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: Zlatko Matić <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: truncate all tables?
Date: 2005-06-29 09:57:47
Message-ID: D4FCB390-125E-4CEA-BF70-B701AF8305C6@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Jun 29, 2005, at 6:34 PM, Zlatko Matić wrote:

> How could I truncate, delete all content of all tables in one step ?

The PostgreSQL documentation is quite good. I recommend looking
through it.

http://www.postgresql.org/docs/8.0/interactive/index.html

In particular, here:
http://www.postgresql.org/docs/8.0/interactive/sql-truncate.html

Google works pretty well also:

http://www.google.com/search?biw=892&hl=en&q=postgresql
+truncate&btnG=Google+Search

Hope this helps.

Michael Glaesemann
grzm myrealbox com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-06-29 10:04:57 Re: truncate all tables?
Previous Message Zlatko Matić 2005-06-29 09:34:39 truncate all tables?