Oracle sqlldr导入一个日期列实例详解
1.
代码如下 | 复制代码 |
LOADDATA INFILE * INTOTABLEtest FIELDS TERMINATEDBYXƏ' TRAILING NULLCOLS ( c2"upper(:c2)", c3date"yyyymmdd", c1"SEQ_test_c1.nextval" ) BEGINDATA AAAAAAAAAA 20051201 BBBBBBBBBB 20050112 CREATETABLETEST ( C1 VARCHAR2(10 BYTE), C2 VARCHAR2(20 BYTE), C3DATE ); |
代码如下 | 复制代码 |
CREATESEQUENCEVV_USER.SEQ_TEST_C1 STARTWITH0 MAXVALUE 9999999 MINVALUE 0 NOCYCLE NOCACHE NOORDER; |
sqlldr user/passwd control = load_date.ctl
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
原文链接:http://blog.csdn.net/wzy0623/article/details/53926644