1、临时修改时间格式
第一种方式 :select to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') from dual;
第二种方式:alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS';

通过查询数据库视图查看到时间格式:select * from v$nls_parameters;

相关文章:

  • 2022-02-07
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-04-23
  • 2021-12-08
  • 2022-01-09
猜你喜欢
  • 2021-06-28
  • 2021-12-09
  • 2021-10-25
  • 2022-02-27
  • 2022-12-23
  • 2022-02-07
  • 2022-02-05
相关资源
相似解决方案