sync
This commit is contained in:
BIN
BAG - push new data from proddb to cloud.sql
Normal file
BIN
BAG - push new data from proddb to cloud.sql
Normal file
Binary file not shown.
@@ -36,16 +36,16 @@ SET NOCOUNT ON
|
|||||||
|
|
||||||
-- REQUIRED variables - MUST SET THESE VARIABLSE
|
-- REQUIRED variables - MUST SET THESE VARIABLSE
|
||||||
DECLARE @sourceServer NVARCHAR(100) = 'PRODDB', -- set sourceServer from \ServerObjects\LinkedServers - data source
|
DECLARE @sourceServer NVARCHAR(100) = 'PRODDB', -- set sourceServer from \ServerObjects\LinkedServers - data source
|
||||||
@targetServer NVARCHAR(100) = 'SWMDATASQLINT01' -- target server - where the copy MUST run
|
@targetServer NVARCHAR(100) = 'SQLMI-BAGSPEZLISTEPRD-SQLINSTANCE.75FF9425AC13.DATABASE.WINDOWS.NET' -- target server - where the copy MUST run
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- optional variables - use carefully
|
-- optional variables - use carefully
|
||||||
DECLARE @tablePatternExclude NVARCHAR(100) = NULL, -- set tableName-Pattern NOT to delete and NOT to copy data - use VERY CAREFULLY!
|
DECLARE @tablePatternExclude NVARCHAR(100) = NULL, -- set tableName-Pattern NOT to delete and NOT to copy data - use VERY CAREFULLY!
|
||||||
@tablePatternDoNotCopy NVARCHAR(100) = NULL, -- set tableName-Pattern to delete but NOT copy data - use VERY CAREFULLY!
|
@tablePatternDoNotCopy NVARCHAR(100) = NULL, -- set tableName-Pattern to delete but NOT copy data - use VERY CAREFULLY!
|
||||||
@writeToLapampa BIT = 1, -- if true will include logging in LaPampa
|
@writeToLapampa BIT = 0, -- if true will include logging in LaPampa
|
||||||
@serverTest BIT = 1, -- if true validates server
|
@serverTest BIT = 1, -- if true validates server
|
||||||
@scriptBigCopy BIT = 0, -- if true writes sql to copy big tables in small blocks
|
@scriptBigCopy BIT = 01, -- if true writes sql to copy big tables in small blocks
|
||||||
@jobDbLocal BIT = 1 -- if false adds 'PRODUCTION_DATA' as linked server for executing job procs
|
@jobDbLocal BIT = 1 -- if false adds 'PRODUCTION_DATA' as linked server for executing job procs
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user