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

采购收货单点击审核后出现报错:不能在 t_sys_operator_log插入重复键?

【问】采购收货单点击审核后出现报错:不能在 t_sys_operator_log插入重复键?
【适用版本】专卖店8 【模块】基本档案 【点击数】60
【知识编号】Z2012121900002
【问题描述】采购收货单点击审核后出现报错:不能在 t_sys_operator_log插入重复键?

【答】 请修复一下自增列,修复前请备份好数据库再执行以下语句,一次性检查并修复所有带自增列的表。
use isszmv8  –可改成相应的数据库名godeclare @tablename varchar(100)declare  test_cur cursor forselect object_name(id) from syscolumnswhere status=128open test_curfetch test_cur into @tablenamewhile @@fetch_status=0begin     DBCC CHECKIDENT (@tablename, RESEED)     fetch test_cur into @tablenameendclose test_curdeallocate test_curgo

赞(0)
未经允许不得转载:思迅软件知识库 » 采购收货单点击审核后出现报错:不能在 t_sys_operator_log插入重复键?
分享到: 更多 (0)

评论 抢沙发

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