Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: question about set statement
Markus Stuhlpfarrer <mstuhlpfarrer_at_hollomey.com> schreef in artikel
<3B84F6D9.A85DF0FA_at_hollomey.com>...
> update tablename set ASN_PULS_CODE = lpad(to_number(ASN_PULS_CODE),3,'0')
>
> or as Xavier suggested:
>
> update tablename set ASN_PULS_CODE = lpad(rtrim(ASN_PULS_CODE),3,'0')
>
>
works like a charm, thanks guys..
Received on Thu Aug 23 2001 - 07:45:09 CDT
![]() |
![]() |