SQLServer与Access常用SQL函数区别
SQLServer Access
CASE...WHEN... IIF()
SUBSTRING() MID()
ISNULL() IIF(IS NULL)
SELECT *,IIf([State]=1,'√','×') as StateTag FROM Leave order by id desc
SELECT IIf([CateID] = 1, "文档"),IIf([CateID] = 2, "视频"),IIf([CateID] = 3, "音频") FROM File
CASE...WHEN... IIF()
SUBSTRING() MID()
ISNULL() IIF(IS NULL)
SELECT *,IIf([State]=1,'√','×') as StateTag FROM Leave order by id desc
SELECT IIf([CateID] = 1, "文档"),IIf([CateID] = 2, "视频"),IIf([CateID] = 3, "音频") FROM File
相关推荐
yangliuhbhd 2020-09-24
风之羽翼 2020-09-14
luotuofeile 2020-07-28
Strongding 2020-06-25
xuanwenchao 2020-06-14
昊 2020-06-04
ysmh00 2020-05-14
ErixHao 2020-05-08
数据库之扑朔迷离 2020-05-06
whyname 2020-04-29
daillo 2020-04-20
踩风火轮的乌龟 2020-04-19
hitxueliang 2020-04-18
hithyc 2020-04-17
snowguy 2020-04-10
zengfanpei 2020-03-08
阿亮 2020-01-30