Re: Casting numeric to text - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: Casting numeric to text
Date
Msg-id Pine.LNX.4.30.0104091756410.1255-100000@peter.localdomain
Whole thread Raw
In response to Re: Casting numeric to text  (Cedar Cox <cedarc@visionforisrael.com>)
Responses Re: Casting numeric to text  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
List pgsql-sql
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.)

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-sql by date:

Previous
From: Tomáš Nohejl
Date:
Subject: create function
Next
From: Peter Eisentraut
Date:
Subject: Re: please help