Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Getting the 2 first numbers ???
Hi!
SELECT LPAD(
TRUNC( (12978892/97 - TRUNC(12978892/97) )* 100 ) ,2,0)
You will probably get in trouble with the rounding :-)
Frank Received on Wed Mar 28 2001 - 14:44:25 CST