11 2016 档案
摘要:CREATE procedure [dbo].[usp_BackupAllDB]@databasename varchar(50)=null,@backupdir varchar(100) =null asif @backupdir is nullset @backupdir='G:\sqldata
阅读全文
摘要:declare @JobFamilies nvarchar(max)='aaa|||bbb|||ccc'CREATE TABLE #JobFamily( JobFamily nvarchar(50)) DECLARE @idoc intDECLARE @JobFamiliesXML xml SET
阅读全文
摘要:CREATE TABLE #DBNAME(ID int identity(1,1),dbname nvarchar(100))CREATE TABLE #BAK(ID int identity(1,1),bak nvarchar(120))DECLARE @BakDir nvarchar(100)
阅读全文