W
water
Unregistered / Unconfirmed
GUEST, unregistred user!
提两个问题:
1.在Query中用如下的SQL语句
CREATE TABLE "Month.db"
( MnKey NUMERIC(10,2),
MnPrNum NUMERIC(10,2),
MnPrName CHAR(10),
MnCurNum CHAR(30),
MnPrMoney MONEY,
MnDate CHAR(8),
MnCountVal SMALLINT,
MnCvMoney MONEY,
MnCvLXMoney MONEY,
PRIMARY KEY (MnKey)
)
创建了个空表后,总要提示"not create currous handle",
但表实际上已经成功创建,如何能把这个错误提示去掉呢?
2.有两个表D,M,为主从关系,在上面的Month表创建完成之
后,如下操作:
Insert into "Month.db"
(MnKey,MnPrNum,MnPrName,MnCurNum,MnPrMoney,MnDate,MnCountVal,MnCvMoney,MnCvLXMoney)
Select D.PrNum,M.PrNum,M.PrName,M.PrCurMoney,D.CvDate,D.CvCountVal,D.CvMoney,D.CVLXMoneyFrom "PrMaster.DB" M,"PrDetail.DB" D
Where M.PrNum = D.PrNum
总提示说参数错误,Why?
请大侠指教!!
1.在Query中用如下的SQL语句
CREATE TABLE "Month.db"
( MnKey NUMERIC(10,2),
MnPrNum NUMERIC(10,2),
MnPrName CHAR(10),
MnCurNum CHAR(30),
MnPrMoney MONEY,
MnDate CHAR(8),
MnCountVal SMALLINT,
MnCvMoney MONEY,
MnCvLXMoney MONEY,
PRIMARY KEY (MnKey)
)
创建了个空表后,总要提示"not create currous handle",
但表实际上已经成功创建,如何能把这个错误提示去掉呢?
2.有两个表D,M,为主从关系,在上面的Month表创建完成之
后,如下操作:
Insert into "Month.db"
(MnKey,MnPrNum,MnPrName,MnCurNum,MnPrMoney,MnDate,MnCountVal,MnCvMoney,MnCvLXMoney)
Select D.PrNum,M.PrNum,M.PrName,M.PrCurMoney,D.CvDate,D.CvCountVal,D.CvMoney,D.CVLXMoneyFrom "PrMaster.DB" M,"PrDetail.DB" D
Where M.PrNum = D.PrNum
总提示说参数错误,Why?
请大侠指教!!