Create AS question

Поиск
Список
Период
Сортировка
От Bob Powell
Тема Create AS question
Дата
Msg-id s1b5b108.004@grpwise.hotchkiss.org
обсуждение исходный текст
Ответы Re: Create AS question  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
Hello everyone:

If I excute the following:

CREATE table Test_backup as
SELECT * FROM Test_Scores;

it creates my table without the original table's constraints or
triggers.

Is there a way to preserve them in the copy?

Thanks.

Bob Powell
Database Administrator

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

Предыдущее
От: Joachim Zobel
Дата:
Сообщение: Reusable database design
Следующее
От: Greg Stark
Дата:
Сообщение: Re: When to encrypt