计算今天和明天之间的天数Oracle SQL 中的hiredate?
如何计算 (sysdate) 和; 之间的天数PL/SQL 中名为 hiredate
的列。
谢谢。
How can I count the number of days between (sysdate) & a column called hiredate
in PL/SQL.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以尝试以下操作:
这将导致以十进制表示的天数。时间戳的
TRUNC
将确保您在连续调用中获得一致的结果。You could try the following:
This will result in a count of days represented in decimal. The
TRUNC
of the timestamps will ensure that you will get a consistent result on successive calls.