注册 登录
编程论坛 ACCESS论坛

[求助]这个SQL语句有什么问题?

yyeungg 发布于 2006-08-22 21:01, 820 次点击

我想把空载特性这个表里的几列复制到空载特性试验相应的列里
语句如下

sql.Format("INSERT INTO 空载特性试验 (编号, U0, I01, I02, I03, I0, P0, P0CU, P'0, U0/UN, U0/UN2) SELECT 编号, U0, I01, I02, I03, I0, P0, P0CU, P'0, U0/UN, U0/UN2 FROM 空载特性 WHERE 编号=%d",row);
m_pRecordset = theApp.m_pConnection->Execute((_bstr_t)sql,NULL,adCmdText);

运行不了?不知道是哪里错了

0 回复
1