如何修复多步OLE DB操作在VBScript中生成错误

时间:2011-05-11 19:33:44

标签: vbscript adodb

我在VBScript中获得多步OLE DB操作生成的错误。它是一个旧的应用程序,如果没有客户的许可,我无法改变太多。

Set objCommand = Server.CreateObject("ADODB.Command")
    With objCommand
       Set .ActiveConnection = cnConnect
       .CommandText = "xxx_PACKAGE.List_Inddiv"
       .CommandType = adCmdStoredProc
       Set objNameParam = .CreateParameter("p_return_code", adInteger, adParamOutput)
       .Parameters.Append objNameParam
       ##Set rsData = .Execute()##

上面的行给出了错误,并且在存储过程中输出被声明为“Numeric”。 我尝试将adInteger更改为adNumeric,但仍然收到错误。

Envoirnment:asp应用程序,Oracle DB。它只在我的本地机器[Windows 7和Oracle 11g]中发生。

由于

0 个答案:

没有答案
相关问题