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: An Oracle logic error....

Re: An Oracle logic error....

From: <G.Plivna_at_itsystems.lv>
Date: Thu, 13 Dec 2001 03:31:36 -0800
Message-ID: <F001.003DBAA2.20011213025522@fatcity.com>

Raeson is implicit data type conversion

ie. explicit conversion is when you use to_number, to_char etc implicit is when Oracle silently does the same

more
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/appdev.817/a76939/adg04typ.htm#418827

Gints Plivna
IT Sistēmas, Merķeļa 13, LV1050 Rīga
http://www.itsystems.lv/gints/

                                                                                       
                            
                    Raymond                                                            
                            
                    <raymond_at_infop       To:     Multiple recipients of list ORACLE-L 
<ORACLE-L_at_fatcity.com>       
                    ro.com.my>           cc:                                           
                            
                    Sent by:             Subject:     An Oracle logic error....        
                            
                    root_at_fatcity.c                                                     
                            
                    om                                                                 
                            
                                                                                       
                            
                                                                                       
                            
                    2001.12.13                                                         
                            
                    11:05                                                              
                            
                    Please respond                                                     
                            
                    to ORACLE-L                                                        
                            
                                                                                       
                            
                                                                                       
                            




A sound not right program to ask you all.

I have

declare l_aayr_nm to NUMBER(4);

l_aayr_nm := TO_CHAR(bsmstr_rec.ful_rls_dt,'YYYY');

and I insert l_aayr_nm into a table with

INSERT INTO penm (yr ) values (l_aayr_nm);

the declaration of the yr is NUMBER(4) also.

But oracle did't give me any error on this ??Why ?

--

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

Author: Raymond
  INET: raymond_at_infopro.com.my

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 Thu Dec 13 2001 - 05:31:36 CST

Original text of this message

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