摘要:
ChangeFullBakNamemove /y D:\CRMBAK\Full\CRM_backup_20*.bak D:\CRMBAK\Full\CRM_backup_full.bakChangeDiffBakNamemove /y D:\CRMBAK\Diff\CRM_backup_20*.bak D:\CRMBAK\Diff\CRM_backup_diff.bakSET NOCOUNT ON; --step 10: 判断数据库是否存在 DECLARE @intDBCount int; SELECT @intDBCount=COUNT(*) FROM sysdatabases WHERE 阅读全文