怎么创建一个Database快照

How to create the database Snapshot:

use master
go
if not exists (select * from sys.databases where name = 'SAPDB_SS')
CREATE DATABASE SAPDB_SS ON
    ( NAME = SAPDB, FILENAME = 'C:\Program Files\SQLSNAPS\SAPDB_SS.SS')
    ( NAME = SharePoint, FILENAME = 'C:\Program Files\SQLSNAPS\SharePoint_SS.SS')
AS SNAPSHOT OF SAPDB ;
go

上一篇:最小生成树 prime + 队列优化


下一篇:服务器群集实验 ——SQL群集3