[英]how to fetch sysdate month into a variable then print it in oracle
how to fetch sysdate month into a variable then print it in oracle如何将 sysdate 月份提取到变量中,然后在 oracle 中打印
You can use the below query in your PL/SQL block.您可以在 PL/SQL 块中使用以下查询。
SELECT
TO_CHAR(current_date, 'FMMonth') AS "Current Month"
FROM dual;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.