多步OLE DB操作产生错误的问题
Dim rs As ADODB.RecordsetSet cn = New ADODB.Connection
'strQuery = "select * from UPLOADS1"
cn.Open "Provider=MSDAORA.1;Password=123456;User ID=adminuser;Data Source=10.2.16.14;Initial Catalog=BJSKDB; Persist Security Info=True"
'cn.Open "Provider=OraOLEDB.Oracle.1;Persist Security Info=true;Data Source=BJSKDB", adminuser, 123456
' strQuery = "select * from UPLOADS1"
Set rs = New ADODB.Recordset
'rs.Open strQuery
', cn, adOpenStatic, adLockOptimistic
运行到 cn.Open "Provider=MSDAORA.1;Password=123456;User ID=adminuser;Data Source=10.2.16.14;Initial Catalog=BJSKDB; Persist Security Info=True" 时会出现 多步OLE DB操作产生错误。如果可能,请检查OLE DB状态值。没有工作被完成 的提示
在线等大侠救命