sql - 有人可以解释一下为什么我的查询不起作用吗?
问题描述
select to_char(current_date,'"q'[Today]'''s date is DD-MM-RRRR"')as output from dual;
解决方案
我认为这是你想要做的ORACLE
:
select to_char(current_date,'"Today''s date is" DD-MM-RRRR')as output from dual;
| 输出 | | :------------------------- | | 今天的日期是 20-11-2020 |
推荐阅读
- visual-studio - VisualStudio ShowAllCommands
- linux - virsh destroy 和 virsh undefine 有什么区别
- javascript - 节点代理服务器在数据库中查询后修改响应
- firebase - 导入firebase后反应本机错误
- python-3.x - 如何在 windows 环境下运行 pyinstaller
- java - 产生通量
从两个通量 - nginx - Nginx 配置问题
- c++ - 如何访问类内的类对象?
- android - 发布应用后 Google Drive Api 停止工作
- vba - Excel VBA 代码循环浏览文件夹、合并文件、创建图表然后保存在不同的位置