Re: There is a different cast than ::MyOtherType() ?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: There is a different cast than ::MyOtherType() ?
Дата
Msg-id 20070216143447.GB13241@alvh.no-ip.org
обсуждение исходный текст
Ответ на There is a different cast than ::MyOtherType() ?  ("Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>)
Список pgsql-sql
Ezequias Rodrigues da Rocha escribió:
> Hi list,
> 
> My Delphi app does not suport this kind of cast:
> 
> Select id, desc::Varchar(50) from myTable

Try

select id, cast(desc as varchar(50)) from yourTable

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: There is a different cast than ::MyOtherType() ?
Следующее
От: chrisj
Дата:
Сообщение: Re: can someone explain confusing array indexing nomenclature