|
发表于 2010-1-7 13:24:18
|
显示全部楼层
U870 +SP3, V5.2服装鞋帽插件 (win2003, sql sp4)
插件无法转结
升级数据库时提示
开始读取系统配置文件
开始读取数据库升级配置文件
开始执行SQL脚本
HY_FZ_YearSettle.sql
执行SQL脚本出错!数据库升级出现错误!运行脚本C:\WINDOWS\system32\UFCOMSQL\行业插件\Script\HY_FZ_YearSettle.sql时出错,出错语句:
if not exists (select 1
from sysobjects
where id = object_id('HYYearSettle')
and type = 'U')
create table HYYearSettle (
ID varchar(20) not null,
cType varchar(20) null,
cName varchar(30) null,
cDll varchar(30) null,
cProVersion varchar(20) null,
constraint PK_HYYEARSETTLE primary key (ID)
)
if exists (select 1
from sysobjects
where id = object_id('HYYearSettle')
and type = 'U')
delete from HYYearSettle where id = 'FZ'
insert HYYearSettle values('FZ','服装','服装','HY_FZ_YearSettle','8700')
,错误信息:插入错误: 列名或所提供值的数目与表定义不匹配。
数据库升级失败。
请问如何解决?
不甚感激! |
|