会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
SmallTalker
在程序摸索中...
博客园
首页
新随笔
联系
订阅
管理
2010年4月20日
sql server 判断系统中是否存在某个表,存储过程 或触发器
摘要: 存储过程if(exists(select * from sysobjects where name='存储过程的名字' and Type='P'))触发器: select * from sysobjects where id=object_id(N'触发器的名字') and objectproperty(id,N'IsTrigger')=1如果判断用户表格的话,用IsUserTable 代替 上面...
阅读全文
posted @ 2010-04-20 10:13 DreamZero
阅读(369)
评论(0)
推荐(0)
编辑
公告