Re: About Create Type

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: About Create Type
Дата
Msg-id 3E6BEB77.8060203@joeconway.com
обсуждение исходный текст
Ответ на About Create Type  ("jack" <datactrl@tpg.com.au>)
Список pgsql-sql
jack wrote:
> When I look at CREATE TYPE  on PostgreSql V7.3 Document. What it describes
> is beyond what I can understand. My requirement is just I want to define a
> type "tyAmt" as "NUMERIC (10,2)" for an application in order to make such
> type of columns consistent. Is there any simple way to implement it? Thank
> you!
> 

I think you really want to create a DOMAIN. See:

http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/sql-createdomain.html

HTH,

Joe





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

Предыдущее
От: "jack"
Дата:
Сообщение: About Create Type
Следующее
От: "James Cooper"
Дата:
Сообщение: types?