코드 사본은 다음과 같습니다.
functiongfv (str)
gfv = request.form (str)
최종 기능 장애
subExeCutesQL
DIDCONTENT : Content = GFV ( "Content")
onerrorresumenext
conn.begintrans
conn.Execute (콘텐츠)
iferr.number <> 0then
err.clear
conn.rollback
conn.close : setconn = 아무것도 없습니다
Callalertbox ( "죄송합니다! SQL 문이 잘못 입력되었습니다!", 2)
또 다른
Conn.commitTrans
conn.close : setconn = 아무것도 없습니다
Callalertbox ( "축하! SQL 문의 실행이 완료되었습니다!", 2)
endif
Endsub