有问题文章留言 看内容决定收费与免费
另外接收数据库质疑 勒索病毒数据恢复等项目。

门店上传数据到CS单据就死机。

【问】门店上传数据到CS单据就死机。
【适用版本】商业之星7 【模块】连锁配送 【点击数】61
【知识编号】P2013082300009
【问题描述】门店上传数据到CS单据就死机。

【答】 分店数据库存在问题,请备份数据库后执行以下语句修复自增列再做传输:use hbposv7_branch 
go
declare @tablename varchar(100)
declare  test_cur cursor for
select object_name(id) from syscolumns
where status=128
open test_cur
fetch test_cur into @tablename
while @@fetch_status=0
begin  
   DBCC CHECKIDENT (@tablename, RESEED)  
   fetch test_cur into @tablename
end
close test_cur
deallocate test_cur
gouse hbposv7_branch 
go
truncate table t_da_discount_daysum

赞(0)
未经允许不得转载:思迅软件知识库 » 门店上传数据到CS单据就死机。
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址