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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: simple sql problem

RE: simple sql problem

From: Swapna_Chinnagangannagari <Swapna_Chinnagangannagari_at_satyam.com>
Date: Tue, 31 Jul 2001 21:10:55 -0700
Message-ID: <F001.0035B5EE.20010731211022@fatcity.com>

but this will append 0 to numbers >1 (sum (a+b) >1) which is not the requirement

-----Original Message-----

From:   Pulikkol Kumar [SMTP:pullikol.kumar_at_mannai.com.qa]
Sent:   Tuesday, July 31, 2001 4:10 PM
To:     Multiple recipients of list ORACLE-L
Subject:        RE: simple sql problem

OR

SELECT   LPAD(TO_CHAR(x+y),LENGTH(x+y)+1,'0')  FROM   BLAH

                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Pulikkol Kumar
  INET: pullikol.kumar_at_mannai.com.qa


Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Jul 31 2001 - 23:10:55 CDT

Original text of this message

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