db2导出数据到txt文档,以及将txt数据导入到数据库中

export to c:ceshi/student.txt of del modified by CODEpage=1386 chardel'' coldel0x03 

select id,name,age from student where age > 18;

import from c:ceshi/student.txt of del modified by DELPRIORITYCHAR codepage=1386 chardel '' coldel0x03 compound=100 commitcount 500 

insert into student

(

id,name,age

);

猜你喜欢

转载自www.cnblogs.com/jiaoxiaoting/p/12144695.html