the variable l_aayr_nm is anyway numeric. u r just converting bsmstr_rec.ful_rls_dt to character and storing the value in the numeric field. i think u got my point.
-----Original Message----- Sent: Thursday, December 13, 2001 2:35 PM To: Multiple recipients of list 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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: Santosh Varma INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
