USE [master]
GO
ALTER DATABASE [NOME_DO_BANCO] SET RECOVERY SIMPLE WITH NO_WAIT
GO
USE [NOME_DO_BANCONHOSIX]
GO
DBCC SHRINKFILE ('NOME_DO_BANCON_Log' , 0, TRUNCATEONLY)
GO
Scripts, Articles, Relevant for DBAs, Consultants, BI, Data Scientists and Developers
USE [master]
GO
ALTER DATABASE [NOME_DO_BANCO] SET RECOVERY SIMPLE WITH NO_WAIT
GO
USE [NOME_DO_BANCONHOSIX]
GO
DBCC SHRINKFILE ('NOME_DO_BANCON_Log' , 0, TRUNCATEONLY)
GO