Re: [GENERAL] Table with differerent Data Types

2008-04-26 Thread xaviergxf
hi, i haven´t found the explication about my problem... On 24 abr, 03:04, [EMAIL PROTECTED] (Klint Gore) wrote: > xaviergxf wrote: > > Hi, > > >    I´m trying to do the follow: create a table like: > > create table t( > >   cod serial, > >   data_type char(10), > >   value ??? > > ); > > > I woul

Re: [GENERAL] Table with differerent Data Types

2008-04-23 Thread Klint Gore
xaviergxf wrote: Hi, I´m trying to do the follow: create a table like: create table t( cod serial, data_type char(10), value ??? ); I would like to do the follow the table would tell me what data type its the value. For instance: insert into t values(1, 'Integer', 12); insert into t

[GENERAL] Table with differerent Data Types

2008-04-23 Thread xaviergxf
Hi, I´m trying to do the follow: create a table like: create table t( cod serial, data_type char(10), value ??? ); I would like to do the follow the table would tell me what data type its the value. For instance: insert into t values(1, 'Integer', 12); insert into t values(2, 'String',