IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[TBL_View]') AND OBJECTPROPERTY(id, N'IsView') = 1)
BEGIN
DROP VIEW [dbo].[TBL_View]
END
No comments:
Post a Comment