按固定分隔符导出DB2数据到EXCEL表格

db2 export to 370.xls of del modified by nochardel coldel0x05 

"select a.std400cunm as 姓名, a.stdmerno as 身份证号, a.std400mobl as 手机号码 from gjj.newdw b left join gjj.gjjsq a on a.stdcmpnm = b.dwname and a.std400mobl is not null where (length(a.stdmerno) = 15 and substr(a.stdmerno, 7,2) >= 59 and substr(a.stdmerno, 7,2) <= 91) or (length(a.stdmerno) = 18 and substr(a.stdmerno, 9,2) >= 59 and substr(a.stdmerno, 9,2) <= 91) and a.std400sqam >= 3000"

发布了88 篇原创文章 · 获赞 15 · 访问量 34万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章