Copy table structure - Mailing list pgsql-novice

From Anshuman Kanwar
Subject Copy table structure
Date
Msg-id 571354A131635E42AE6C1F584F5F9B3A011EFC18@cabfranc.ad.corp.expertcity.com
Whole thread Raw
Responses Re: Copy table structure
Re: Copy table structure
List 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 by date:

Previous
From: Bruno LEVEQUE
Date:
Subject: Re: 7.4Beta2 installation not finding OpenSSL
Next
From: "Menke, Kurt"
Date:
Subject: Re: importing data automatically