A-A+
简单的查询语句
select * from CRM_CARD_LOG where op_time>'2020-11-7 10:00:00' and op_time< '2020-11-7 23:00:00'
update Rep_Detail where id = 907691 set describe='回鱼'/*修改异常账单备注*/
2008日志清理
USE[master]
GO
ALTER DATABASE [LCZERP] SET RECOVERY SIMPLE WITH NO_WAIT
GO
ALTER DATABASE [LCZERP] SET RECOVERY SIMPLE --简单模式
GO
USE [LCZERP]
GO
DBCC SHRINKFILE (N'erp_log' , 1) ---Real_DB_Log 是数据库文件逻辑名
GO
USE[master]
GO
ALTER DATABASE [LCZERP] SET RECOVERY FULL WITH NO_WAIT
GO
ALTER DATABASE [LCZERP] SET RECOVERY FULL --还原为完全模式
GO
评论已关闭!