dim adoCmd as new adodb.command
dim pram as new adodb.parameter
With adoCmd
.CommandText = "{call plsqlproc(?)}"
.CommandType = adCmdText
.ActiveConnection = adoConn
Set Pram = .CreateParameter("parameter", adVarChar, adParamInput, 4,value)
.Parameters.Append Pram
.Execute
//
plsqlproc 是你的存储过程
dim pram as new adodb.parameter
With adoCmd
.CommandText = "{call plsqlproc(?)}"
.CommandType = adCmdText
.ActiveConnection = adoConn
Set Pram = .CreateParameter("parameter", adVarChar, adParamInput, 4,value)
.Parameters.Append Pram
.Execute
//
plsqlproc 是你的存储过程
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货