Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Casting to money



> postgres=# select "123.45"::money;
> ERROR:  column "123.45" does not exist
> LINE 1: select "123.45"::money;
>                 ^
> postgres=# select "$123.45"::money;
> ERROR:  column "$123.45" does not exist
> LINE 1: select "$123.45"::money;
>                 ^

You are on the wrong mailing list :^) Try pgsql-general.

http://www.postgresql.org/docs/8.1/static/sql-syntax.html#SQL-SYNTAX-IDE
NTIFIERS

Anything between double quotes is an identifier.

Yours,
Laurenz Albe



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group