数据库备份
BACKUP DATABASE [DB_NAME] TO DISK=N'd:\DB_NAME' WITH INIT,STATS=10
数据库压缩备份
BACKUP DATABASE [DB_NAME] TO DISK=N'd:\DB_NAME.Bak' WITH COMPRESSION,INIT,STATS=10
数据库生成的脚本 BACKUP DATABASE [CCRM_POSTSTAGE] TO DISK = N'd:\DB_NAME.Bak' WITH NOFORMAT, NOINIT, NAME = N'DB_NAME', SKIP, NOREWIND, NOUNLOAD, COMPRESSION, STATS = 10 GO