Re: A simple way to Create type ...?

Поиск
Список
Период
Сортировка
От ow
Тема Re: A simple way to Create type ...?
Дата
Msg-id 20030916211431.66225.qmail@web21413.mail.yahoo.com
обсуждение исходный текст
Ответ на A simple way to Create type ...?  (ow <oneway_111@yahoo.com>)
Ответы Re: A simple way to Create type ...?
Список pgsql-sql
--- ow <oneway_111@yahoo.com> wrote:
> Hi,
[...]
> How should one declare a new custom type, say, "AddressType" that corresponds
> internally to "varchar(50)". In other words, all columns that are assigned
> "AddressType" would internally be "varchar(50)".
> 
> Example:
> create type AddressType ... -- how to do it in a simple way?

I guess, ideally it'd be create type AddressType AS varchar(50) ;
but it does not work.

Any ideas? Thanks





__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


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

Предыдущее
От: ow
Дата:
Сообщение: A simple way to Create type ...?
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: A simple way to Create type ...?