Re: There is a different cast than ::MyOtherType() ? - Mailing list pgsql-sql

From A. Kretschmer
Subject Re: There is a different cast than ::MyOtherType() ?
Date
Msg-id 20070216143451.GA10450@a-kretschmer.de
Whole thread Raw
In response to There is a different cast than ::MyOtherType() ?  ("Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>)
List pgsql-sql
am  Fri, dem 16.02.2007, um  9:30:14 -0300 mailte Ezequias Rodrigues da Rocha folgendes:
> Hi list,
> 
> My Delphi app does not suport this kind of cast:
> 
> Select id, desc::Varchar(50) from myTable

This is PG-only-style, the spec is:

select id, cast(desc as varchar(50)) from mytable;


But i'm not sure if 'desc' is a reserved key-word.


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net


pgsql-sql by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: can someone explain confusing array indexing nomenclature
Next
From: Alvaro Herrera
Date:
Subject: Re: There is a different cast than ::MyOtherType() ?