Use transactions in ASP

xiaoxiao2021-03-05  23

Connecute ("delete from supervisor where id =" & id)

Conn.execute ("delete from config where uid = '" & uid & "'")

Conn.execute ("delete from filterconfig where uid = '" & uid & "')

Conn.execute ("delete from ipconfig where uid = '" & uid & "'")

Conn.execute ("delete from main where uid = '" & uid & "'")

Conn.execute ("delete from reply where uid = '" & uid & "'")

Conn.execute ("delete from stats where uid = '" & uid & "'")

Conn.committrans

转载请注明原文地址:https://www.9cbs.com/read-36397.html

New Post(0)