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

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: There is a different cast than ::MyOtherType() ?
Date: 2007-02-16 14:34:51
Message-ID: 20070216143451.GA10450@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message chrisj 2007-02-16 18:35:13 Re: can someone explain confusing array indexing nomenclature
Previous Message Alvaro Herrera 2007-02-16 14:34:47 Re: There is a different cast than ::MyOtherType() ?