1。首先登陆上服务器,然后进如bd2
db2
2.然后链接到数据库
connect to sss(表名)
3.导出数据
export to aaaa.del of del select * from xxxxx where a=a;
aaaa.del是保存的文件名。of del应该是语法表示是del文件
也可以加上路径。export to 20191024/aaaa.del of del select * from xxxxx where a=a; 表示在当前目录下的20191024文件夹下创建aaaa.del文件