DROP TABLE wildcard

Поиск
Список
Период
Сортировка
От Andy Koch
Тема DROP TABLE wildcard
Дата
Msg-id 5.1.0.14.0.20010502124732.0241fbd0@pop.telus.net
обсуждение исходный текст
Ответы Re: DROP TABLE wildcard
Список pgsql-general
Is it possible to drop multiple tables with SQL on the system tables:

I tried this:

DROP TABLE from pg_tables where tablename LIKE 'table_num_%';

Which for whatever reason would delete 0 items despite it should have
matched on several.

Of course I'm not even sure pg_tables would be the smart place to make the
delete from?

Thanks.


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

Предыдущее
От: Adam Walczykiewicz
Дата:
Сообщение: PL/Perl documentation ...
Следующее
От: Doug McNaught
Дата:
Сообщение: Re: big pg 6.5 and 7.1 problem in simple application