USE admindb
dbcc loginfo
EXEC sp_helpfile
backup Log admindb TO disk='c:\dbbackup\admindb.20080124.bak'
backup log admindb WITH truncate_only
backup log admindb WITH no_log
dbcc shrinkfile(admindb_log,20)
EXEC sp_helpfile
ALTER DATABASE admindb MODIFY file ( name = admindb_log, maxsize = 200mb ) GO
dbcc shrinkdatabase(admindb,2,truncateonly)