pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 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 15:33:15 +0200
Message-ID: <NOEAIPGJHJIHECKNEIBGIEHECOAA.stephane@smeso.fr> (raw)
In-Reply-To: <014201c1e616$abe40140$41057aa3@tatainfotech.com>

> Hi Stéphane,
>
> 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.

Thanks a lot ! That works !!




view thread (7+ messages)  latest in thread

Message-ID: <NOEAIPGJHJIHECKNEIBGIEHECOAA.stephane@smeso.fr>
Permalink:  ../NOEAIPGJHJIHECKNEIBGIEHECOAA.stephane@smeso.fr/
Also on:    postgresql.org/message-id/NOEAIPGJHJIHECKNEIBGIEHECOAA.stephane@smeso.fr

 · 

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: stephane@smeso.fr, gautam.rao@tatainfotech.com
  Subject: Re: Need some help with dates
  In-Reply-To: <NOEAIPGJHJIHECKNEIBGIEHECOAA.stephane@smeso.fr>

* 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