惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
G
Google Developers Blog
B
Blog
Engineering at Meta
Engineering at Meta
阮一峰的网络日志
阮一峰的网络日志
The Register - Security
The Register - Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 叶小钗
The Cloudflare Blog
The Hacker News
The Hacker News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
雷峰网
雷峰网
F
Fortinet All Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
A
About on SuperTechFans
量子位
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
H
Help Net Security
Help Net Security
Help Net Security
P
Palo Alto Networks Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Troy Hunt's Blog
W
WeLiveSecurity
V
Vulnerabilities – Threatpost
T
The Exploit Database - CXSecurity.com
Know Your Adversary
Know Your Adversary
Apple Machine Learning Research
Apple Machine Learning Research
Scott Helme
Scott Helme
N
News | PayPal Newsroom
AWS News Blog
AWS News Blog
D
DataBreaches.Net
Blog — PlanetScale
Blog — PlanetScale
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
腾讯CDC
J
Java Code Geeks
Microsoft Azure Blog
Microsoft Azure Blog
TaoSecurity Blog
TaoSecurity Blog
GbyAI
GbyAI
Y
Y Combinator Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
D
Docker

博客园 - standas

获取元素的绝对位置 Tomcat 支持中文和不区分大小写 - standas - 博客园 安装 Realtek HD Audio Driver 失败 CSS工具列表 Meta标签详解 changimg - standas - 博客园 网页中调用本地exe程序 - standas - 博客园 Microsoft JET Database Engine 错误 '80040e09' FCKeditor 在上传中文文件时文件名出现乱码 用于asp.net还原与恢复sqlserver数据库的killspid存储过程 ASP.NET访问Oracle数据库的方法(转) oracle_net.msi下载地址 oracle连接字符串 网站被挂木马,中毒了 电脑出现怪问题 全球15个顶级技术类博客 十个未来发展趋势 java课程资源 Java环境搭建
oracle常用函数
standas · 2007-11-02 · via 博客园 - standas

oracle常用函数
|| 字符连接
initcap 首字母大写
lower 转换为小写字符
upper 转换为大写
lpad 左填充
rpad 右填充
ltrim 去除左边的空格
rtrim 去除右边的空格
alltrim 去除两边的空格
replace 替换
translate 转换
ascii 求ASC码
chr asc码变字符
substr 字符截取函数
instr 测试字符串出现的位置
length 字符串的长度

sysdate 系统时间
add_months 添加月份,得到一个新的日期
trunc 截取年月日
last_day 某月的最后一天
months_between 两个日期之间的月数

to_char 把日期或数字类型变为字符串
to_number 把字符串变成数字
to_date 把字符串变成日期

ceil 不小于x的最小整数
floor 不大于x的最大整数
round 四舍五入
trunc 舍去尾数
mod(x,n) x除以n以后的余数
power(x,y) x的y次方

greatest 求最大值
least 求最小值
nvl 空值转换函数

decode (if...elseif...elseif...else结构)

sign(x) 判断正负
x是正 1
x是负 -1
x是0 0