Skip to content

Instantly share code, notes, and snippets.

@OliverRC
Created October 25, 2013 11:24
Show Gist options
  • Save OliverRC/7153168 to your computer and use it in GitHub Desktop.
Save OliverRC/7153168 to your computer and use it in GitHub Desktop.
View Template
IF EXISTS(SELECT * FROM sysobjects where id = object_id(N'<schema>.<view>') and OBJECTPROPERTY(id, N'IsView') = 1)
DROP VIEW <schema>.<view>
GO
CREATE VIEW dbo.vw_Mon_Casino
AS
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment