Re: Empty Table

Поиск
Список
Период
Сортировка
От Rajesh Kumar Mallah
Тема Re: Empty Table
Дата
Msg-id a97c77030703291116p2488c816v42858b658c92bf09@mail.gmail.com
обсуждение исходный текст
Ответ на Empty Table  (<ezequias@fastcon.com.br>)
Ответы Re: Empty Table
Список pgsql-sql
psql> TRUNCATE TABLE <tablename>;

if you have too many tables , generate the above commands
by using a query on tables information schema table.
hope it helps.

On 3/29/07, ezequias@fastcon.com.br <ezequias@fastcon.com.br> wrote:
> Hi list,
>
> I have many tables with many constraints and I would like to empty all my
> tables.
>
> There is any simple way to do it ?
>
> I have pgAdmin here but not psql.
>
> Any help would be glad.
>
> Regards
> Ezequias
>
>
> --
> Ezequias Rodrigues da Rocha
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org
>


В списке pgsql-sql по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Empty Table
Следующее
От:
Дата:
Сообщение: Re: Empty Table