USE [master];
GO
RESTORE DATABASE [AdventureWorks2016_Corrupt] 
	FROM  DISK = N'C:\Backups\AdventureWorks2014_Corrupt.bak' 
	WITH  FILE = 1,  
	MOVE N'AdventureWorks2014_Corrupt_Data' 
		TO N'C:\Databases\AdventureWorks2016_Corrupt\AdventureWorks2016_Corrupt_Data.mdf',  
	MOVE N'AdventureWorks2014_Corrupt_Log' 
		TO N'C:\Databases\AdventureWorks2016_Corrupt\AdventureWorks2016_Corrupt_Log.ldf',  
	NOUNLOAD,  
	STATS = 5;
GO


USE [master];
GO
RESTORE DATABASE [AdventureWorks2016_Corrupt2] 
	FROM  DISK = N'C:\Backups\AdventureWorks2014_Corrupt2.bak' 
	WITH  FILE = 1,  
	MOVE N'AdventureWorks2014_Corrupt2_Data' 
		TO N'C:\Databases\AdventureWorks2016_Corrupt2\AdventureWorks2016_Corrupt2_Data.mdf',  
	MOVE N'AdventureWorks2014_Corrupt2_Log' 
		TO N'C:\Databases\AdventureWorks2016_Corrupt2\AdventureWorks2016_Corrupt2_Log.ldf',  
	NOUNLOAD, 
	REPLACE, 
	STATS = 5

GO
