重庆分公司,新征程启航

为企业提供网站建设、域名注册、服务器等服务

sqlserver数据库备份语句

DECLARE @strPath NVARCHAR(200)


set @strPath = convert(NVARCHAR(19),getdate(),120)
set @strPath = REPLACE(@strPath, ':' , '.')
set @strPath = '备份路径'+'CopyBSS'+@strPath + '.bak'

backup database 数据库名 to disk = @strPath
 with noinit , nounload , noskip , STATS = 10, NOFORMAT

创新互联专注于台州企业网站建设,响应式网站设计,购物商城网站建设。台州网站建设公司,为台州等地区提供建站服务。全流程按需策划,专业设计,全程项目跟踪,创新互联专业和态度为您提供的服务


本文标题:sqlserver数据库备份语句
分享网址:http://cqcxhl.com/article/jejges.html

其他资讯

在线咨询
服务热线
服务热线:028-86922220
TOP