我正在尝试将文件保存为EUC-KR格式。 但是保存后,文件格式始终为UTF-8。
代码:
with tst as (
Select level as mnth
from dual connect by level <= 12
)
select to_date(floor(DBMS_Random.Value(1,to_char(last_day(to_date(mnth, 'mm')), 'dd')))||'-'||mnth, 'dd-mm') dt
from tst
with tst as (
Select level as mnth from dual connect by level <= 12
)
select to_date(floor(DBMS_Random.Value(1,to_char(last_day(to_date(mnth||'-'||2017, 'mm-yyyy')), 'dd')))||'-'||mnth||'-'||2017, 'dd-mm-yyyy') t from tst
有人可以帮助我吗?