SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Create Snapshot Dynamicly

By mobasha B,

this procedure performe two knids of operations:

either drop the old database snapshots and recreate them

--EXEC ADB.dbo.CreateSnapshot_SP

or create a new snapshot considering maultible data file.

--EXEC ADB.dbo.CreateSnapshot_SP
@SnapShotPath='G:\VSSBC\SnapShots\',@DatabaseName='Testdatabase',@Operation =0



Total article views: 1105 | Views in the last 30 days: 0
Related Articles

Database SnapShot

Database SnapShot


database snapshot

Alter database snapshot


Snapshots Deleted

Snapshots Deleted during Cleanup


Database snapshot issue with sqlserver

Database snapshot issue with sqlserverDatabase snapshot issue with sqlserverDatabase snapshot issue ...


Snapshot Dynamicly

How to create a database snapshots dynamically