希望你用OLEDB,而不要直接使用oracle的驱动.
连接字符串如下:
 "Provider=MSDAORA.1;Password=password;Persist Security Info=True;User ID=username;Data Source=service_name"dim conn,cmd
Set conn = server.create("ADODB.Connection")
Set cmd = server.create("ADODB.Command")
 conn .CursorLocation = adUseClient
 conn .ConnectionString = m_sConnString
 conn .Open cmd.CommandType = adCmdStoredProc
 cmd.ActiveConnection = conn 
 cmd.CommandText = "procedurename"
     '输入参数
 cmd.Parameters.Append cmd.CreateParameter("para1", adVarChar, adParamInput, 20, para1)
     '输出参数
 cmd.Parameters.Append cmd.CreateParameter("para2", adInteger, adParamOutput, 20, paraw)
 cmd.Execute自己试试,应该可以的.

解决方案 »

  1.   

    过程是这样子的:procedure DSSUGG_REPLY(userno dt_sugg_reply.userno%type,
                           spno   dt_sugg_reply.replyspno%type,
                           sendmsg dt_sugg_reply.replymsg%type,
                           topid   dt_sugg_reply.topid%type,
                           srvcode dt_sugg_reply.serviceid%type,
                           operid  dt_sugg_reply.operid%type,
                           ret     out integer)
      

  2.   

    OraDatabase.Parameters.Add 这句都还没对,应该不关过程的事吧?
      

  3.   

    我把ORAPARM_INPUT改成1
    这行不报错了,但下一行报错说类型不对
    不知这里类型应该怎么填