VB连接ORACAL过程

    Dim aCmd As ADODB.Command
    
Set aCmd = New ADODB.Command
    
With aCmd
'        .Name = "PACKAGENAME"
        .ActiveConnection = ConnectionStr
        .CommandType 
= adCmdStoredProc
        .CommandText 
= "PACKAGE.PROCEDORE"
        .Parameters.Append .CreateParameter(
"inNO", adNumeric, adParamInput)

        .Parameters(
0).Value = 1

    
End With
    
    
Call aCmd.Execute(Options:=adExecuteNoRecords)


原文地址:https://www.cnblogs.com/sekihin/p/630610.html
Creative Commons License 本作品采用 知识共享署名-非商业性使用 2.5 中国大陆许可协议进行许可。