查看: 1320|回复: 1
|
怎樣update record?
[复制链接]
|
|
可以一次过update所有record吗?
asp ms access
<%
set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_conn_STRING
Command1.CommandText = "UPDATE user SET money = money + 10 WHERE count > 0"
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
%>
有很多个record 的count 是多过0 的..
当我执行这个code ... >> "page canot be displayed"
为什么? |
|
|
|
|
|
|
|
发表于 25-10-2005 01:12 PM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|