-- Cleanup Script


:CONNECT sql2k12-svr1
-- Remove Database Mirroring
ALTER DATABASE CreditReporting
SET PARTNER OFF;
GO

-- If not, set it
ALTER DATABASE CreditReporting
SET RECOVERY SIMPLE;
GO

DROP ENDPOINT [Mirroring]
GO

:CONNECT sql2k12-svr2
-- If not, set it
DROP DATABASE CreditReporting;
GO

DROP ENDPOINT [Mirroring]
GO

:CONNECT sql2k12-svr3

DROP ENDPOINT [Mirroring]
GO
