摘要:
1 USE master 2 GO 3 4 DECLARE 5 @DBName sysname, 6 @DestPath varchar(256) 7 DECLARE @DB table( 8 name sysname, 9 physical_name sysname)10 11 12 BEGIN TRY13 14 SELECT15 @DBName = 'TargetDatabaseName', --input database name16 @DestPath = 'D:\SqlData\' --input destin... 阅读全文