ASP calls the classic example of the SQLServer stored procedure (original)

xiaoxiao2021-03-06  104

ASP calls the classic example of the SQLServer stored procedure

1, no input parameters, there is less than the value, but it is also a case. CONNSTRING = "DSN = DSNNAME; UID = User; Pass = pass" set conn = server.createObject ("adodb.connection") Conn.open connStringconn.execute "procname"

2, two input parameters, no return value connString = "DSN = dsnname; uid = user; pass = pass" set conn = server.createObject ("adodb.connection") conn.open connStringconn.execute "procname var1, var2"

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

New Post(0)