Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Oracle BI Publisher 中,我似乎无法找到将日期参数传递给查询的格式。例如
select * from myTable where the_date = :the_date
有任何想法吗?
这通常是通过 NLS_DATE_FORMAT 参数,在您的会话中设置或为整个数据库设置。oracle 中的默认值是“DD-MON-YY”。当然,您可以使用 to_date 转换功能更改您的查询以采用您希望的任何格式。