当前位置:网站首页>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' |
边栏推荐
- Oracle/PLSQL: Lower Function
- Learn the most basic operation of discodiffusion
- 1.44 inch TFT-LCD display screen mold taking tutorial
- 图论知识及其应用初步调研
- Oracle/PLSQL: From_Tz function
- Why divide the training set and the test set before normalization?
- 【毕业季】角色转换
- 二叉树oj题目
- Reading a book in idea is too much!
- 宁愿去996也不要待业在家啦!24岁,失业7个月,比上班更惨的,是没班可上
猜你喜欢
随机推荐
XSS攻击(笔记)
George Washington University: Hanhan Zhou | PAC: auxiliary value factor decomposition with counterfactual prediction in Multi-Agent Reinforcement Learning
UVM中uvm_config_db非直线的设置与获取
Oracle/PLSQL: Rpad Function
getReader() has already been called for this request
XSS notes (Part 2)
Oracle/PLSQL: Rpad Function
按键控制LED状态翻转
snakemake 使用的注意事项
Memcached foundation 3
Oracle/PLSQL: Lower Function
Due to the invalidation of the prospectus of bori technology, CICC has stopped providing guidance to it and abandoned the listing on the Hong Kong stock exchange?
Memcached foundation 6
Oracle/PLSQL: Rtrim Function
Interface isolation principle
Memcached foundations 12
NLP:Transformer在NLP自然语言领域的简介(预训练技术)、NLP模型发展(ELmo/GPT/BERT/MT-DNN/XLNet/RoBERTa/ALBERT)、经典案例之详细攻略
Simply learn the entry-level concepts of googlecolab
Learn the most basic operation of discodiffusion
UVM中uvm_report_enabled的用法







