【问】采购收货单点击审核后出现报错:不能在 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