Oracle 函数获取时间的年份和月份

获取年份

SELECT    extract(year from sysdate)  from dual;

获取月份

SELECT    extract(month from sysdate)  from dual;

相关文章:

  • 2021-09-23
  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
猜你喜欢
  • 2021-12-13
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2018-01-24
  • 2022-12-23
相关资源
相似解决方案