Re: [SQL] Table like a field

2005-03-09 Thread Richard Huxton
[EMAIL PROTECTED] wrote: Hello. Is there any way to build a table that contain the coluns name for the other table fields? like this: create table people(id serial primary key, name varchar(50) ); create table people_fields ( field_name varchar(30) ); insert into people_fields values ('occupatio

[SQL] Table like a field

2005-03-09 Thread lucas
Hello. Is there any way to build a table that contain the coluns name for the other table fields? like this: create table people(id serial primary key, name varchar(50) ); create table people_fields ( field_name varchar(30) ); insert into people_fields values ('occupation'); insert into people