USE [master]
GO
ALTER DATABASE metadb_auto SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE metadb_auto SET RECOVERY SIMPLE
GO
USE metadb_auto
GO
DBCC SHRINKFILE (N'metadb_Log' , 11, TRUNCATEONLY)
GO
USE [master]
GO
ALTER DATABASE metadb_auto SET RECOVERY FULL WITH NO_WAIT
GO
ALTER DATABASE metadb_auto SET RECOVERY FULL
GO