SCOPE_IDENTITY()
获取刚插入数据库的记录 ID。SCOPE_IDENTITY()
获取刚插入数据库的记录 ID。UPDATE
SQL 语句。,,``sql,UPDATE 表名 SET 字段名 = '新值' WHERE 条件;,
``,,请确保正确设置数据库连接并执行此查询。'--
开始注释多行,直到遇到 '--
结束。asp,dim conn, sql,set conn = server.createobject("adodb.connection"),conn.open "provider=microsoft.jet.oledb.4.0;data source=" & server.mappath("database.mdb"),,sql = "update tablename set column1='value' where condition",conn.execute sql,,conn.close,set conn = nothing,
``Powered By Z-BlogPHP 1.7.3