注册 登录
编程论坛 ASP技术论坛

这个表达时有错么?我看不出来,有简化写法么?

dhdhzzw 发布于 2007-12-06 10:03, 583 次点击
strSQL="Update MachineInfo set MachineTypeID="
 strSQL=strSQL&MachineType &" where CustomerID=(select CustomerID from CustomerInfo where Account='"
 strSQL=strSQL & UserName & "')"
1 回复
#2
madpbpl2007-12-06 11:11
最简单的方法
response.write strSQL
看看输出的strSQL是否正确
1