Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Stripping leading zeroes from a text "number" field

Re: Stripping leading zeroes from a text "number" field

From: Sybrand Bakker <postmaster_at_sybrandb.demon.nl>
Date: Tue, 30 Nov 1999 22:07:38 +0100
Message-ID: <943996142.10393.0.pluto.d4ee154e@news.demon.nl>


Why not just use ltrim(number column, '0')

Hth,

--
Sybrand Bakker, Oracle DBA
Mark K <markko99_at_my-deja.com> wrote in message news:821b77$vem$1_at_nnrp1.deja.com...
>
>
> There is a script that pulls all of the leading zeroes off of
> a "numeric" varchar2 field. Does anyone have a copy of it?
>
> Field consists of numbers, want to pull a variable number of leading
> zeroes from the column, replace with new value.
> --
> Mark
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Tue Nov 30 1999 - 15:07:38 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US