pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Stéphane DEWITTE <stephane@smeso.fr>
To: Gautham S. Rao <gautam.rao@tatainfotech.com>
To: pgsql-sql@postgresql.org
Subject: Re: Need some help with dates
Date: Wed, 17 Apr 2002 09:16:24 -0700
Message-ID: <web-1374322@davinci.ethosmedia.com> (raw)
In-Reply-To: <NOEAIPGJHJIHECKNEIBGIEHECOAA.stephane@smeso.fr>

Stephane,

> > to_number works in the same fashion as in oracle. You need to give
> > to_number('<yourdata>','formatmask')
> > For example, to_number('1234567','FM9999999')
> >
> > Regards,
> > Gautham.

A list of PostgreSQL functions:
http://www7.us.postgresql.org/users-lounge/docs/7.2/postgres/functions.html

-Josh



view thread (7+ messages)

Message-ID: <web-1374322@davinci.ethosmedia.com>
Permalink:  ../web-1374322@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-1374322@davinci.ethosmedia.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, stephane@smeso.fr, gautam.rao@tatainfotech.com
  Subject: Re: Need some help with dates
  In-Reply-To: <web-1374322@davinci.ethosmedia.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox