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文件