IF OBJECT_ID('[dbo].[VIEW]', 'V') IS NOT NULL drop view [dbo].[VIEW] go create view [dbo].[VIEW] as […] go