当前位置:网站首页>Oracle calculates the difference between two dates in seconds, minutes, hours and days
Oracle calculates the difference between two dates in seconds, minutes, hours and days
2022-04-23 13:40:00 【Wangcai 2】
-- Calculate the number of seconds between the two time differences
select (sysdate-to_date('2021/12/14 17:00:00','yyyy/mm/dd hh24:mi:ss'))*24*60*60 from dual
-- Calculate the difference between the two time differences
select (sysdate-to_date('2021/12/14 17:00:00','yyyy/mm/dd hh24:mi:ss'))*24*60 from dual
-- When calculating the difference between two time differences
select (sysdate-to_date('2021/12/14 17:00:00','yyyy/mm/dd hh24:mi:ss'))*24 from dual
-- Calculate how many days there is between the two time differences
select sysdate-to_date('2021/12/14 17:00:00','yyyy/mm/dd hh24:mi:ss') from dual
版权声明
本文为[Wangcai 2]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230604300916.html
边栏推荐
- Campus takeout system - "nongzhibang" wechat native cloud development applet
- The interviewer dug a hole for me: how many concurrent TCP connections can a single server have?
- Ding ~ your scholarship has arrived! C certified enterprise scholarship list released
- Oracle kills the executing SQL
- Isparta is a tool that generates webp, GIF and apng from PNG and supports the transformation of webp, GIF and apng
- TERSUS笔记员工信息516-Mysql查询(2个字段的时间段唯一性判断)
- Comparison and summary of applicable scenarios of Clickhouse and MySQL database
- 十万大学生都已成为猿粉,你还在等什么?
- Servlet of three web components
- Data warehouse - what is OLAP
猜你喜欢
![[Video] Bayesian inference in linear regression and R language prediction of workers' wage data | data sharing](/img/12/a330b5e77921bbfa8e96fcbc660daa.png)
[Video] Bayesian inference in linear regression and R language prediction of workers' wage data | data sharing
![[point cloud series] foldingnet: point cloud auto encoder via deep grid deformation](/img/c0/cc29ae6948dbe42954cd9da326ef77.png)
[point cloud series] foldingnet: point cloud auto encoder via deep grid deformation

Summary of request and response and their ServletContext
![[barycentric coordinate interpolation, perspective correction interpolation] principle and usage opinions](/img/db/2e7d7f519f97f0c4179a29af8942a6.png)
[barycentric coordinate interpolation, perspective correction interpolation] principle and usage opinions

Isparta is a tool that generates webp, GIF and apng from PNG and supports the transformation of webp, GIF and apng

Zero copy technology

Analysis of the latest Android high frequency interview questions in 2020 (BAT TMD JD Xiaomi)

集简云 x 飞书深诺,助力企业运营部实现自动化办公

On the bug of JS regular test method

Example of specific method for TIA to trigger interrupt ob40 based on high-speed counter to realize fixed-point machining action
随机推荐
【重心坐标插值、透视矫正插值】原理以及用法见解
Detailed explanation of constraints of Oracle table
PyTorch 21. NN in pytorch Embedding module
榜样专访 | 孙光浩:高校俱乐部伴我成长并创业
Stack protector under armcc / GCC
【官宣】长沙软件人才实训基地成立!
Machine learning -- naive Bayes
Comparison and summary of applicable scenarios of Clickhouse and MySQL database
面试官给我挖坑:单台服务器并发TCP连接数到底可以有多少 ?
UEFI learning 01-arm aarch64 compilation, armplatformpripeicore (SEC)
[multi screen interaction] realize dual multi screen display II: startactivity mode
TCP reset Gongji principle and actual combat reproduction
TIA博途中基於高速計數器觸發中斷OB40實現定點加工動作的具體方法示例
Cross carbon market and Web3 to achieve renewable transformation
【视频】线性回归中的贝叶斯推断与R语言预测工人工资数据|数据分享
Oracle renames objects
On the bug of JS regular test method
[walking notes]
Usereducer basic usage
Tersus notes employee information 516 MySQL query (time period uniqueness judgment of 2 fields)