SQLServer与Access常用SQL函数区别

编程学习 2021-07-05 16:49www.dzhlxh.cn编程入门
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

Copyright © 2016-2025 www.dzhlxh.cn 金源码 版权所有 Power by

网站模板下载|网络推广|微博营销|seo优化|视频营销|网络营销|微信营销|网站建设|织梦模板|小程序模板