标签:
先码上再说,免得以后找的麻烦
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N‘[xxx].[xxxx]‘) AND type in (N‘P‘,N‘V‘,N‘U‘)) DROP VIEW [xxx].[xxxx] GO
P:存储过程
V:视图
U:用户表
xxx:schema
xxxx:对象名字
标签:
原文地址:http://www.cnblogs.com/donnie-d-yuan/p/5159590.html