Copy table structure

Поиск
Список
Период
Сортировка
От Anshuman Kanwar
Тема Copy table structure
Дата
Msg-id 571354A131635E42AE6C1F584F5F9B3A011EFC18@cabfranc.ad.corp.expertcity.com
обсуждение исходный текст
Ответы Re: Copy table structure
Re: Copy table structure
Список pgsql-novice
Hi all,

How do I copy only the table structure from one tabe to another.

Table A has some data but I just want to copy the number of columns and the
column names from this table  and create a table B. What is the best way of
doing this ?

Thanks in advance,
-ansh

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