11 2016 档案

摘要:CREATE procedure [dbo].[usp_BackupAllDB]@databasename varchar(50)=null,@backupdir varchar(100) =null asif @backupdir is nullset @backupdir='G:\sqldata 阅读全文
posted @ 2016-11-24 18:13 聂小姐 阅读(185) 评论(0) 推荐(0) 编辑
摘要:declare @JobFamilies nvarchar(max)='aaa|||bbb|||ccc'CREATE TABLE #JobFamily( JobFamily nvarchar(50)) DECLARE @idoc intDECLARE @JobFamiliesXML xml SET 阅读全文
posted @ 2016-11-24 17:51 聂小姐 阅读(476) 评论(0) 推荐(0) 编辑
摘要: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) 阅读全文
posted @ 2016-11-24 11:00 聂小姐 阅读(1570) 评论(0) 推荐(0) 编辑