diff --git a/BAG - push new data from proddb to cloud.sql b/BAG - push new data from proddb to cloud.sql new file mode 100644 index 0000000..0718880 Binary files /dev/null and b/BAG - push new data from proddb to cloud.sql differ diff --git a/paul_snippets/Admin/Script_DataCopy.sql b/paul_snippets/Admin/Script_DataCopy.sql index 985b56b..8ec79c2 100644 --- a/paul_snippets/Admin/Script_DataCopy.sql +++ b/paul_snippets/Admin/Script_DataCopy.sql @@ -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