Re: converting mac-adress type to string

Поиск
Список
Период
Сортировка
От Rodrigo De León
Тема Re: converting mac-adress type to string
Дата
Msg-id a55915760709200945v6067a1b7g2895ffe2a77f1a72@mail.gmail.com
обсуждение исходный текст
Ответ на converting mac-adress type to string  (Michael Cochez <michaelcochez@yahoo.com>)
Список pgsql-novice
On 9/20/07, Michael Cochez <michaelcochez@yahoo.com> wrote:
> Hello,
> I want to create a view where the mac address of a table is seen as a string
> i was thinking about something like this :
> SELECT some_function_to_convert(mac_address) FROM table;
> is this possible, and what function do i need to use?

SELECT mac_address::text FROM table;

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

Предыдущее
От: Michael Cochez
Дата:
Сообщение: converting mac-adress type to string
Следующее
От: Michael Cochez
Дата:
Сообщение: selecting other schema's as the public one from php