Re: Another question about composite types

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Another question about composite types
Дата
Msg-id 277719.72609.qm@web31811.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Another question about composite types  ("Rodrigo Sakai" <rodrigo.sakai@zanthus.com.br>)
Ответы RES: Another question about composite types
Список pgsql-sql
>   CREATE TYPE t_salary AS (Value numeric(10,2), Validity date);
>   CREATE TABLE employee (id int, name varchar(30), salary t_salary[]);
>
> That is, I need an array of composite type and searching on google I found
> that is impossible to do it! Is it really impossible? Anyone have do it ?

Why not use a conventional table to hold this information that references your employee table?

Regards,

Richard Broersma Jr.


В списке pgsql-sql по дате отправления:

Предыдущее
От: Volkan YAZICI
Дата:
Сообщение: Re: drop a check
Следующее
От: "Rodrigo Sakai"
Дата:
Сообщение: RES: Another question about composite types