SET NOCOUNT ON
DECLARE @LogicalFileName sysname,
@MaxMinutes INT,
@NewSize INT
USE WeiliDB-- 要操作的数据库名
SELECT @LogicalFileName ='TclyworkDB_log', -- 日志文件名
@MaxMinutes = 10, -- Limit on time allowed to wrap log.<...>
SET NOCOUNT ON
DECLARE @LogicalFileName sysname,
@MaxMinutes INT,
@NewSize INT
USE WeiliDB-- 要操作的数据库名
SELECT @LogicalFileName ='TclyworkDB_log', -- 日志文件名
@MaxMinutes = 10, -- Limit on time allowed to wrap log.<...>
转载于:https://www.cnblogs.com/SilenceTom/archive/2008/08/12/1519441.html