This commit is contained in:
2025-03-11 20:15:49 +01:00
parent 2aa04c696b
commit fce8651a01
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@@ -36,16 +36,16 @@ SET NOCOUNT ON
-- REQUIRED variables - MUST SET THESE VARIABLSE
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
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!
@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
@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