欢迎来到福编程网,本站提供各种互联网专业知识!

SQLServer与Access常用SQL函数区别

发布时间:2009-06-26 作者: 来源:转载
SQLServerAccessSQL函数
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

相关推荐