当前位置:网站首页>Oracle/PLSQL: NumToDSInterval Function
Oracle/PLSQL: NumToDSInterval Function
2022-06-27 01:46:00 【yuanlnet】
In Oracle/PLSQL, the numtodsinterval function converts a number to an INTERVAL DAY TO SECOND literal.
Syntax
The syntax for the numtodsinterval function is:
numtodsinterval( number, expression )
number is the number to convert to an interval.
expression is the unit. It must be one of the following values: DAY, HOUR, MINUTE, or SECOND.
Applies To
- Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i
For Example
numtodsinterval(150, 'DAY') | would return '+000000150 00:00:00.000000000' |
numtodsinterval(1500, 'HOUR') | would return '+000000062 12:00:00.000000000' |
numtodsinterval(15000, 'MINUTE') | would return +000000010 10:00:00.000000000' |
numtodsinterval(150000, 'SECOND') | would return '+000000001 17:40:00.000000000' |
边栏推荐
- NLP:Transformer在NLP自然语言领域的简介(预训练技术)、NLP模型发展(ELmo/GPT/BERT/MT-DNN/XLNet/RoBERTa/ALBERT)、经典案例之详细攻略
- Oracle/PLSQL: HexToRaw Function
- Oracle/PLSQL: Cast Function
- 通过Rust语言计算加速技术突破图片识别性能瓶颈
- Oracle/PLSQL: Lpad Function
- Weibo comments on high performance and high availability architecture
- Oracle/PLSQL: Lower Function
- SystemVerilog simulation speed increase
- 速看!2022年6月编程语言排行榜出炉!第一名太牛啦
- Kept to implement redis autofailover (redisha) 17
猜你喜欢

在连接数据库的时候遇到了点问题,请问怎么解决呀?

Ml: a detailed introduction to the division of the top ten roles, backgrounds, responsibilities and outputs of the machine learning engineering team

架构实战营模块五作业

Clip: learning transferable visual models from natural language monitoring

CLIP:从自然语言监督中学习可迁移的视觉模型

递归是会更秀strtok

uvm中的config机制方法总结(二)

Recursion will make strtok more attractive

Consumers pursue the iPhone because its cost performance exceeds that of domestic mobile phones

Did your case really pass?
随机推荐
Oracle/PLSQL: VSize Function
Learn the most basic operation of discodiffusion
XSS笔记(下)
The listing of Fuyuan pharmaceutical is imminent: the net amount raised will reach 1.6 billion yuan, and hubaifan is the actual controller
UVM in reporting classes_ report_ Get of server_ severity_ Count and get_ Server usage
Memcached Foundation
Oracle/PLSQL: CharToRowid Function
Oracle/PLSQL: Lower Function
p5.js死亡星球
UVM中uvm_config_db非直线的设置与获取
按键控制LED状态翻转
UVM in UVM_ report_ Enabled usage
持续交付-Blue Ocean 应用
架构实战营模块五作业
Continuous delivery blue ocean application
Hibernate generates SQL based on Dialect
在 IDEA 里看个书很过分嘛!
Interface test framework practice (I) | requests and interface request construction
在连接数据库的时候遇到了点问题,请问怎么解决呀?
canvas粒子篇之鼠标跟随js特效