悟生慧

 

SQL Server如果视图存在就删除

SQL Server如果视图存在就删除

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[POS_View_ViewRestockDetali_ViewGoodsTypeWareHouseNew]') and OBJECTPROPERTY(id,N'IsView') = 1)
Drop View [dbo].[POS_View_ViewRestockDetali_ViewGoodsTypeWareHouseNew]

posted on 2011-07-08 10:31  悟生慧  阅读(1228)  评论(0编辑  收藏  举报

导航