Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: converting mac-adress type to string



On 9/20/07, Michael Cochez <michaelcochez(at)yahoo(dot)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;



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group