Re: Casting numeric to text

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Cedar Cox <cedarc(at)visionforisrael(dot)com>
Cc: Hans-Jürgen Schönig <hs(at)cybertec(dot)at>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Casting numeric to text
Date: 2001-04-09 15:57:45
Message-ID: Pine.LNX.4.30.0104091756410.1255-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2001-04-09 16:01:01 Re: please help
Previous Message Tomáš Nohejl 2001-04-09 08:42:20 create function