【问】日结非常慢,而且经常卡死。如何处理? | ||
【适用版本】商云8 | 【模块】基本档案 | 【点击数】158 |
【知识编号】72017092600023 | ||
【问题描述】日结非常慢,而且经常卡死。如何处理? |
go
–修复索引
declare @tablename varchar(100)
declare test_cur cursor for
select object_name(id) from sysobjects
where type =’U’
open test_cur
fetch test_cur into @tablename
while @@fetch_status=0
begin
DBCC DBREINDEX(@tablename)
fetch test_cur into @tablename
end
close test_cur
deallocate test_cur
go
修复后核实。
注:关于自动删除历史数据,此处勾选后,日结后会自动删除历史销售数据,不建议勾选。
关于指针提示,是由于客户没有日结完毕后强制退出会导致此问题
此提示不影响,请让客户直接点击确定,正常日结后,指针即会变回来。