东宝哥

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
数据库备份
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
posted on 2009-12-21 10:00  东宝哥  阅读(644)  评论(0编辑  收藏  举报