Oracle sqlldr导入一个日期列实例详解
1.
LOAD DATAINFILE *INTO TABLE testFIELDS TERMINATED BY X'9'TRAILING NULLCOLS( c2 "upper(:c2)", c3 date "yyyymmdd", c1 "SEQ_test_c1.nextval")BEGINDATAAAAAAAAAAA 20051201BBBBBBBBBB 20050112
CREATE TABLE TEST( C1 VARCHAR2(10 BYTE), C2 VARCHAR2(20 BYTE), C3 DATE);CREATE SEQUENCE VV_USER.SEQ_TEST_C1START WITH 0MAXVALUE 9999999MINVALUE 0NOCYCLENOCACHENOORDER;
sqlldr user/passwd control = load_date.ctl
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
新闻热点
疑难解答