ÃÖ±æÈ£
[LIST]
|
2005-10-04 16:34:37, Á¶È¸ : 9,942 |
<< ctlÆÄÀÏ¿¡ ¹» Ãß°¡ÇØ¾ß ÇÒ°Í °°½À´Ï´Ù >> --> ¾ÈµÇ´Â°ÇÁö ±× Á¶Â÷ ¸ð¸£´Ï ´ä´äÇϳ׿ä
---------------------------------------------------------------------------
** insert ÇÒ·Á°íÇÏ´Â *.datÆÄÀÏ
1513787795,"0001053173776","2005-08-25",0,0,1,1527,0,0,0,0,0,0,0,1,0,0,0,1527,"0","0",0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,"","0","","0","0","0","0","0","0"," ","2005-09-13 00:00:00","2005-09-13 00:00:00"
--> ´Ù½Ã¸»Çؼ ¹®ÀÚ¿Àº " "·Î ½ÎÁ®ÀÖ°í,,,¼ýÀÚ´Â ¼ýÀڷθ¸ Á¸ÀçÇÕ´Ï´Ù
±¸ºÐÀÚ´Â , ÀÔ´Ï´Ù
** ctl ÆÄÀϳ»¿ë
LOAD DATA
INFILE '/apcmsdata1/APCMS/ETT/DATA/mon/MD01_C_INFORM_NICE.dat'
INTO TABLE CRM.INFORM_NICE truncate
fields terminated by ','
Trailing nullcols
(
CUST_KEY
,SS_NUM
,LATEST_GENERATION_DATE Date external "YYYY-MM-DD"
,LOAN_91_DAYS_NUM
<< °á°ú >>
¹®ÀÚ¿ÀÇ " ¶§¹®¿¡ Record 10: Rejected - Error on table CRM.INFORM_NICE, column SS_NUM.
ORA-01401: inserted value too large for column
¹®ÀÚ¿ÀÇ °æ¿ì "¸¦ ¹«½ÃÇÏ´Â ¿É¼Ç¾ø³ª¿ä??
========================================================================================
select replace('"0001053173776"','"','') from dual
ÀÌ·¸°Ô Çϸé
½ÇÁ¦°ªÀº --> "0001053173776" Àε¥
--> 0001053173776 ·Î ¹Ù²îÀݾƿä
========================================================================================
LOAD DATA
INFILE '/apcmsdata1/APCMS/ETT/DATA/mon/MD01_C_INFORM_NICE.dat'
INTO TABLE CRM.INFORM_NICE truncate
fields terminated by ','
Trailing nullcols
(
CUST_KEY
,SS_NUM "replace(:SS_NUM ,'\"','')" --> (1)
,LATEST_GENERATION_DATE Date external YYYY-MM-DD --> (2)
(»ý·«)
(1)¹ø ó·³ Çϸé " °¡ »ç¶óÁö´Â°Í °°³×¿ä
±Ùµ¥ ¹®Á¦´Â (2)Àε¥... ÇØ´çÅ×À̺íÀÌ DATE ÇüÀ̶ó¼ (1)À» È°¿ëÇؼ to_date,to_charÇϸé
¿¡·¯°¡ ³ª³×¿ä...
¾Æ½Ã´ÂºÐ Á» °áÄÑÁÖ¼¼¿ä
| 18.97.9.172
|
|