Re: Test if a table is present

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Re: Test if a table is present
Дата
Msg-id 87bq0li4bo.fsf@alamut.mobiliz.com.tr
обсуждение исходный текст
Ответ на Test if a table is present  ("Ole Ekerhovd" <olehare@online.no>)
Список pgsql-sql
On Sat, 26 Jul 2008, "Ole Ekerhovd" <olehare@online.no> writes:
> How can I test if a table is present in database?
 SELECT TRUE   FROM information_schema.tables  WHERE table_name   = '<TABLE>' AND        table_schema = '<SCHEMA>'

BTW, this query is portable across database systems supporting
information schema, which is an almost defacto standard.


Regards.


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

Предыдущее
От: "Anoop G"
Дата:
Сообщение: Re: Test if a table is present
Следующее
От: Allan Kamau
Дата:
Сообщение: Efficiently determining the number of bits set in the contents of a VARBIT field