Created
November 24, 2016 12:13
-
-
Save DarkAllien/e3142e2c8ce9a49a74cf151b484534a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE [new database on SCCM DB Server]; | |
GO | |
IF EXISTS | |
( | |
SELECT * | |
FROM sys.synonyms | |
WHERE name = N'v_R_System' | |
AND schema_id = SCHEMA_ID(N'dbo') | |
) | |
DROP SYNONYM [dbo].[v_R_System]; | |
GO | |
CREATE SYNONYM [dbo].[v_R_System] FOR [SCCM Database].[dbo].[v_R_System]; | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment