This file contains hidden or 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
--DROP IF ALREADY EXISTS | |
IF EXISTS ( SELECT 1 | |
FROM SYS.procedures | |
WHERE NAME = 'SYNC_ColumnsDefaultValues' ) | |
DROP PROC SYNC_ColumnsDefaultValues | |
GO | |
--CREATE PROCEDURE | |
SET ANSI_NULLS ON | |
GO |
This file contains hidden or 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
--DROP IF ALREADY CREATED | |
IF EXISTS (SELECT 1 FROM sys.objects WHERE type = 'P' AND name = 'SYNC_CreateMissingColumns') | |
DROP PROC [dbo].[SYNC_CreateMissingColumns] | |
GO | |
--CREATE PROCEDURE | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
/* |
This file contains hidden or 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
--DROP IF ALREADY CREATED | |
IF EXISTS ( SELECT 1 | |
FROM SYS.procedures | |
WHERE NAME = 'SYNC_CreatePrimaryKeys' ) | |
DROP PROC SYNC_CreatePrimaryKeys | |
GO | |
--CREATE PROCEDURE | |
SET ANSI_NULLS ON | |
GO |
This file contains hidden or 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
--DROP IF ALREADY EXISTS | |
IF EXISTS ( SELECT 1 | |
FROM SYS.PROCEDURES | |
WHERE NAME = 'SYNC_Indexes' ) | |
DROP PROCEDURE SYNC_Indexes | |
GO | |
--CREATE PROCEDURE | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON |
OlderNewer