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

推荐订阅源

罗磊的独立博客
SecWiki News
SecWiki News
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
量子位
M
MIT News - Artificial intelligence
GbyAI
GbyAI
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
TaoSecurity Blog
TaoSecurity Blog
博客园 - 【当耐特】
H
Heimdal Security Blog
腾讯CDC
The Last Watchdog
The Last Watchdog
Security Archives - TechRepublic
Security Archives - TechRepublic
Hacker News: Ask HN
Hacker News: Ask HN
S
Schneier on Security
Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
博客园 - 司徒正美
Recent Commits to openclaw:main
Recent Commits to openclaw:main
C
Cybersecurity and Infrastructure Security Agency CISA
S
SegmentFault 最新的问题
大猫的无限游戏
大猫的无限游戏
Application and Cybersecurity Blog
Application and Cybersecurity Blog
F
Full Disclosure
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Threatpost
月光博客
月光博客
A
Arctic Wolf
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
雷峰网
雷峰网
T
Troy Hunt's Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Cloudflare Blog
D
DataBreaches.Net
O
OpenAI News
L
LINUX DO - 最新话题
宝玉的分享
宝玉的分享
小众软件
小众软件
V
Vulnerabilities – Threatpost
A
About on SuperTechFans
人人都是产品经理
人人都是产品经理
T
The Exploit Database - CXSecurity.com
Martin Fowler
Martin Fowler
美团技术团队
P
Privacy International News Feed

博客园 - 没有空气

修改win7电脑中所有文件的默认查看方式 转:Google推出免费DNS服务,首选首选8.8.8.8 备选8.8.4.4 无法在Web服务器上启动调试。您不具备调试此应用程序的权限,此项目的URL位于Internet区域 Oracle错误:"ORA-00988: 口令缺失或无效"解决 Oracle中用户用as sysdba可以登录,但normal登录不了 oracle 视图上创建触发器,发生“无法在视图上创建此类型的触发器”错误 异形孔向导用不了的解决办法(转) 给word 2003打补丁以适应2007文档格式 C#编程生成的Word2007版本的文件如何兼容Word2003?(通过代码将docx文件转存为doc文件) 原:Oracle 和 SqlServer下获取主外键表名字段名约束名的语句 DDL、DML、DCL Hashtable 使用GetEnumerator() 时发生 System.InvalidOperationException类型错误 npkcrypt 服务启动失败导致 Oracle11g TNSListener服务开机自动启动不了 WORD"对话框打开时命令无法执行"的解决方法 Nero刻录时报"QueryDosDevice Failed"错误 关于cidaemon.exe进程CUP占用率高的解决办法 取Excel表的字段名字 "找不到可安装的 ISAM” 和"创建文件流失败" 求每个分组里面的最大值对应的记录的sql语句
sqlserver与oracle case when else ,isnull语法差别
没有空气 · 2008-07-16 · via 博客园 - 没有空气

sqlserver里的isnull()
oracle里nvl()
NVL(Expr1,Expr2)如果Expr1为NULL,返回Expr2的值,否则返回Expr1的值
NVL2(Expr1,Expr2,Expr3)如果Expr1不为NULL,返回Expr2的值,否则返回Expr3的值
NULLIF(Expr1,Expr2)如果Expr1和Expr2的值相等,返回NULL,否则返回Expr1的值

sqlserver里的case when else的用法:

 表名 = CASE WHEN a.colorder = 1 THEN d .name ELSE '' END, 
     

oracle里case when else的用法:
 (CASE WHEN a.colorder = 1 THEN d .name ELSE '' END) as 表名,