select name,recovery_model_desc from sys.databasesGOAlter database DATABASE_NAME Set Recovery simpleGODeclare @DATABASE_NAME_log sysnameselect @DATABASE_NAME_log=Name from sys.database_files where Type=1print @DATABASE_NAME_logDBCC Shrinkfile(@DATABASE_NAME_log,100)
To shrink the MSSQL transaction log via mylittleadmin / mssql manager, do the following queries:
- 0 Users Found This Useful