Re: Casting numeric to text
От
Ross J. Reedstrom
Тема
Re: Casting numeric to text
Дата
Msg-id
20010409112651.A29792@rice.edu
Ответ на
Re: Casting numeric to text (Peter Eisentraut)
Список
Дерево обсуждения
Casting numeric to text Hans-Jürgen Schönig <hs@cybertec.at>
Re: Casting numeric to text Peter Eisentraut <peter_e@gmx.net>
Re: Casting numeric to text Cedar Cox <cedarc@visionforisrael.com>
Re: Casting numeric to text Peter Eisentraut <peter_e@gmx.net>
Re: Casting numeric to text "Ross J. Reedstrom" <reedstrm@rice.edu>
Re: Casting numeric to text Peter Eisentraut <peter_e@gmx.net>
Re: Casting numeric to text "Ross J. Reedstrom" <reedstrm@rice.edu>
On Mon, Apr 09, 2001 at 05:57:45PM +0200, Peter Eisentraut wrote: > Cedar Cox writes: > > > When would one want to use cast()? What is the difference between cast > > and :: ? After a quick look in the documentation I couldn't find > > anything.. > > cast() is SQL, :: is traditional Postgres. :: may go away in the distant > future to make room for the SQL feature that is supposed to use ::. (It > escapes me at the moment what that was.) FYI, I can't find an occurance of '::' that's not part of '::=' in either SQL1992.txt or the ansi-iso-[sql]-1999.txt files I've got. But Peter's answer's still correct: CAST( AS ) is SQL standard, '::' is not. Ross
В списке pgsql-sql по дате отправления