会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
半醉半醒半浮生
You can’t have a better tomorrow if you don’t stop thinking about yesterday.
博客园
首页
新随笔
联系
订阅
管理
2018年3月26日
if exists和if not exists关键字用法
摘要: 1.介绍 if not exists 即如果不存在,if exists 即如果存在 2.使用 a.判断数据库不存在时 if not exists(select * from sys.databases where name = ‘database_name’) b.判断表不存在时 if not ex
阅读全文
posted @ 2018-03-26 16:06 EdisonYao
阅读(17245)
评论(0)
推荐(0)
公告