pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Maciej Piekielniak <piechcio@isb.com.pl>
To: pgsql-sql@postgresql.org
Subject: create table and data types
Date: Tue, 14 Feb 2006 22:12:18 +0100
Message-ID: <1827225102.20060214221218@isb.com.pl> (raw)

Hello pgsql-sql,

  Is anybody know how create field in a new table with data type accuiring from a field in other table?
  For example:

create table new_table
( 
 name other_table.name%TYPE
); 

-- 
Best regards,
 Maciej                          mailto:piechcio@isb.com.pl




view thread (6+ messages)  latest in thread

Message-ID: <1827225102.20060214221218@isb.com.pl>
Permalink:  ../1827225102.20060214221218@isb.com.pl/
Also on:    postgresql.org/message-id/1827225102.20060214221218@isb.com.pl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: piechcio@isb.com.pl
  Subject: Re: create table and data types
  In-Reply-To: <1827225102.20060214221218@isb.com.pl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox