Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id BED9547639A for ; Wed, 17 Apr 2002 12:16:19 -0400 (EDT) Received: from [63.195.55.98] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.9) with HTTP id 1374322; Wed, 17 Apr 2002 09:16:24 -0700 From: "Josh Berkus" Subject: Re: Need some help with dates To: =?ISO-8859-1?Q?St=E9phane?= DEWITTE , "Gautham S. Rao" , X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Wed, 17 Apr 2002 09:16:24 -0700 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200204/214 X-Sequence-Number: 7478 Stephane, > > to_number works in the same fashion as in oracle. You need to give > > to_number('','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