From 7a63e9506255a65bb082d52b6421692e5d0e513b Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Fri, 29 Dec 2023 17:39:56 +0700 Subject: [PATCH] =?UTF-8?q?Update=20=D0=9F=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E?= =?UTF-8?q?=D1=87=D0=B5=D0=BD=D0=B8=D0=B5MSSQL.os?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Удаление бэкслэша из шаблонов запросов создания и восстановления БД. --- ...1\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git "a/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" "b/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" index c3b2260..5954e72 100644 --- "a/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" +++ "b/src/core/\320\232\320\273\320\260\321\201\321\201\321\213/\320\237\320\276\320\264\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265MSSQL.os" @@ -349,10 +349,10 @@ |CREATE DATABASE [%1] |ON |( NAME = %1, - | FILENAME = '%2\%1.mdf') + | FILENAME = '%2%1.mdf') |LOG ON |( NAME = %1_log, - | FILENAME = '%2\%1_log.ldf'); + | FILENAME = '%2%1_log.ldf'); | |ALTER DATABASE [%1] |SET RECOVERY %3"" ", @@ -885,8 +885,8 @@ |ALTER DATABASE [%1] SET SINGLE_USER WITH ROLLBACK IMMEDIATE; | |RESTORE DATABASE [%1] FROM DISK = N'%2' WITH FILE = 1, - |MOVE N'%3' TO N'%4\%1.mdf', - |MOVE N'%5' TO N'%6\%1_log.ldf', + |MOVE N'%3' TO N'%4%1.mdf', + |MOVE N'%5' TO N'%6%1_log.ldf', |NOUNLOAD, REPLACE, STATS = 10; | |ALTER DATABASE [%1] SET MULTI_USER"" ",