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
Declare @name varchar(100) | |
declare @qu as varchar(1200) | |
declare icur cursor fast_forward for | |
SELECT name | |
FROM sys.databases | |
WHERE name NOT IN ('master', 'model', 'msdb', 'tempdb') | |
--and recovery_model_desc = 'FULL' | |
open icur |
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
@echo off | |
rem ******************************************************************************************* | |
rem ********************** Ввод первоначальных данных ***************************************** | |
rem ******************************************************************************************* | |
mode con: cp select=1251 | |
rem Переменная пути, где будут сохраняться выгрузки из баз | |
rem Можно указать через ; несколько путей, в конце обязательно\ | |
set patharcall=D:\ARC\;E:\ARC\ |