dbTalk Databases Forums  

create table/type

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss create table/type in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Hicham G. Elmongui
 
Posts: n/a

Default create table/type - 10-20-2004 , 12:43 PM






is there a way to create a table with a certain type?

CREATE TYPE typename AS (id integer, name varchar);

and something like

CREATE TABLE names OF TYPE typename.


Is there a syntax to support this?

thanks,
--h



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.