update语法错误
<%
set conn=server.createobject("adodb.connection")
connstr="Provider=Microsoft.jet.oledb.4.0;data source="&server.mappath("data\data.mdb")
conn.open connstr
set rs=server.CreateObject("adodb.recordset")
strsql="select name_gh,sum(qty_gh) as qty from a group by name_gh"
rs.open strsql,connstr,1,3
update c set qty_1=qty
from a,c
where name=a.name_gh
%>
Microsoft VBScript 编译器错误 (0x800A0401)
语句未结束
/test5.asp, line 9, column 9
update c set qty_1=qty
注:qty_1是C表中的一个字段