没搞过ORACLE,但ADO的方法与具体后台数据库无关。有关的仅是连接字符串。
用COMMAND、RECORDSET对象都可以。
随便找本书看吧,一样的。

解决方案 »

  1.   

    ado执行的是数据库信息,应该和oracle的接口有关系
      

  2.   

    因该是接口的问题..
    没用过oracle..
    连接的话.只要使用 MSDAORA 关键字就可以了.
    这里是sql的使用方式
    '连接
    with cnn
          .provider = "sqloledb"
          .connstrng ="data source= xxxx;" & "initial =xxx;"_
          & "user id = xx" & "password=xx"
          .open
    end with
    '调用存储过程
    dim rs as adodb.recordset
    dim cmd as adodb.command
    set rs = new adodb.recordset
    with cmd
         .activeconnection = conn
         .commandtxt="过程名"
         .commandtype=adcmdstoredproc
         set rs =.execute
    end with
    你可以参考一下