2021年11月16日 星期二

Oracle Output CSV File with UTF8 BOM for MS Excel to open it

Oracle Output CSV File with UTF8 BOM for MS Excel to open it



select unistr('\feff')  as bom,length(unistr('\feff') ) length
from dual;