按固定分隔符導出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萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章