S
seayhb
Unregistered / Unconfirmed
GUEST, unregistred user!
如题,
出现问题为:
用ADOQuery.
保存时出现 invalid variant type错误.
建表SQL语句:
CREATE TABLE [dbo].[OUTDETAIL1] (
[ID] [int] NOT NULL ,
[1] [bigint] NOT NULL ,
[2] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[3] [varchar] (30) COLLATE Chinese_PRC_CI_AS NULL ,
[4] [numeric](18, 2) NULL ,
[5] [numeric](18, 2) NULL ,
[6] [numeric](18, 2) NULL ,
[7] [varchar] (4) COLLATE Chinese_PRC_CI_AS NULL ,
[8] [varchar] (5) COLLATE Chinese_PRC_CI_AS NULL ,
[9] [varchar] (30) COLLATE Chinese_PRC_CI_AS NULL ,
[10] [numeric](18, 2) NULL ,
[11] [numeric](18, 2) NULL ,
[12] [bigint] IDENTITY (1, 1) NOT NULL ,
[13] [numeric](18, 0) NULL ,
[14] [varchar] (5) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]
请各位帮忙解决.难道表结构有问题吗?
已测试,delph6,delph7没升级补丁没问题.
出现问题为:
用ADOQuery.
保存时出现 invalid variant type错误.
建表SQL语句:
CREATE TABLE [dbo].[OUTDETAIL1] (
[ID] [int] NOT NULL ,
[1] [bigint] NOT NULL ,
[2] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[3] [varchar] (30) COLLATE Chinese_PRC_CI_AS NULL ,
[4] [numeric](18, 2) NULL ,
[5] [numeric](18, 2) NULL ,
[6] [numeric](18, 2) NULL ,
[7] [varchar] (4) COLLATE Chinese_PRC_CI_AS NULL ,
[8] [varchar] (5) COLLATE Chinese_PRC_CI_AS NULL ,
[9] [varchar] (30) COLLATE Chinese_PRC_CI_AS NULL ,
[10] [numeric](18, 2) NULL ,
[11] [numeric](18, 2) NULL ,
[12] [bigint] IDENTITY (1, 1) NOT NULL ,
[13] [numeric](18, 0) NULL ,
[14] [varchar] (5) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]
请各位帮忙解决.难道表结构有问题吗?
已测试,delph6,delph7没升级补丁没问题.