﻿USE master;

IF  EXISTS (SELECT name FROM sys.databases WHERE name = N'{0}_Snapshot')
DROP DATABASE {0}_Snapshot