当前位置:网站首页>Oracle/PLSQL: NumToDSInterval Function
Oracle/PLSQL: NumToDSInterval Function
2022-06-27 01:35: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' |
边栏推荐
- 1.44 inch TFT-LCD display screen mold taking tutorial
- 每日刷题记录 (五)
- Simply learn the entry-level concepts of googlecolab
- Summary of working at home during the epidemic | community essay solicitation
- 递归是会更秀strtok
- Oracle/PLSQL: Trim Function
- Reading a book in idea is too much!
- NOKOV动作捕捉系统使多场协同无人机自主建造成为可能
- getReader() has already been called for this request
- WiFi-IoT 鸿蒙开发套件样例开发
猜你喜欢

Amazon elasticache quickly builds a cache service cluster, which is fast

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

持续交付-Blue Ocean 应用

Markdown table (consolidated)

Break through the performance bottleneck of image recognition through rust language computing acceleration technology

Binary tree OJ problem

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

图论知识及其应用初步调研

你的case真的pass了吗?

使用NetworkX对社交网络进行系统的分析:Facebook网络分析案例
随机推荐
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
memcached基础15
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
I encountered some problems when connecting to the database. How can I solve them?
Memcached foundation 4
[graduation season] role conversion
On the operation mechanism of numpy array
UVM in UVM_ report_ Enabled usage
Modeling specifications: environment settings
Oracle/PLSQL: Rtrim Function
memcached基础
JVM 的指针压缩
Did your case really pass?
perl语言中 fork()、exec()、waitpid() 、 $? >> 8 组合
1.44 inch TFT-LCD display screen mold taking tutorial
SQLite Reader 插件测试SQLite语法
Amazon ElastiCache 飞速搭建缓存服务集群,这才叫快
Markdown table (consolidated)
Summary of config mechanism and methods in UVM (2)
疫情期间居家办公的总结体会 |社区征文