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: Make a character format from number format

Re: Make a character format from number format

From: <G.Plivna_at_itsystems.lv>
Date: Wed, 21 Mar 2001 02:27:02 -0800
Message-ID: <F001.002D2D2D.20010321012555@fatcity.com>

You can rely on Oracles internal data types conversion mechanism

Or use conversion functions ie. in your case insert into table_name values(10, to_char(1960));

Look in oracle docs for conversion functions

Gints Plivna

                                                                                       
                            
                    Roland.Skoldb                                                      
                            
                    lom_at_ica.se           To:     Multiple recipients of list ORACLE-L 
<ORACLE-L_at_fatcity.com>       
                    Sent by:             cc:                                           
                            
                    root_at_fatcity.        Subject:     Make a character format from 
number format                   
                    com                                                                
                            
                                                                                       
                            
                                                                                       
                            
                    01.03.21                                                           
                            
                    10:55                                                              
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    ORACLE-L                                                           
                            
                                                                                       
                            
                                                                                       
                            




How can I make a character format from a number format in an insert statement?
For instance insert into table_name values(10, 1960); where 1960 is supposed to be put in the column, which is in character datatype.

Roland Sköldblom

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Roland.Skoldblom_at_ica.se

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).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: G.Plivna_at_itsystems.lv

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 Wed Mar 21 2001 - 04:27:02 CST

Original text of this message

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