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]

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-09
猜你喜欢
  • 2022-12-23
  • 2021-08-31
  • 2021-12-25
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案