Re: Moving a table to a different schema

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: Moving a table to a different schema
Дата
Msg-id 20030529183104.GN14390@libertyrms.info
обсуждение исходный текст
Ответ на Moving a table to a different schema  ("Jim C. Nasby" <jim@nasby.net>)
Ответы Re: Moving a table to a different schema  ("Jim C. Nasby" <jim@nasby.net>)
Список pgsql-general
On Thu, May 29, 2003 at 11:14:22AM -0500, Jim C. Nasby wrote:
> Is there a command to move an existing table to a different schema?

    CREATE TABLE targetschem.tablename AS
        SELECT * FROM sourceschem.tablename

would work.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


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

Предыдущее
От: nolan@celery.tssi.com
Дата:
Сообщение: Re: How to deny user changing his own password?
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: exporting join results