问题描述
sql2000移植到oracle后,执行到cmd.Properties("outputstream")=oStream就报"实时错误3265在对应所需名称或序数的集合中,未找到项目",在sql2000中是正常的.清各位大侠帮忙!具体代码如下:PublicFunctionGetSQLDom(ByValsqlStrAsVariant,_OptionalByValvRootNameAsVariant,_OptionalByValvCommandTimeOutAsVariant_)AsStringDimCnnAsNewadodb.Connection,CmdAsNewadodb.Command,oStreamAsNewadodb.StreamDimstrRootNameAsStringDimdTimeOutAsDoubleDimtmpStrAsStringDimstrSrcAsStringstrSrc="BaseDS.BaseDAC.GetSQLDom"IfCStr(sqlStr)=""ThenErr.Raise10001,strSrc,"ûÓÐΪCommand¶ÔÏóÉèÖÃÃüÁî"EndIfstrRootName="Data"IfIsMissing(vRootName)=FalseThentmpStr=Trim(CStr(vRootName))IftmpStr<>""ThenstrRootName=tmpStrEndIfEndIfdTimeOut=900#IfIsMissing(vCommandTimeOut)=FalseThentmpStr=CStr(vCommandTimeOut)IfIsNumeric(tmpStr)=FalseThenIfCDbl(tmpStr)>0ThendTimeOut=CDbl(tmpStr)EndIfEndIfEndIfWithCnn.CursorLocation=adUseClient.OpenmsConnectEndWithWithCmdSet.ActiveConnection=CnnoStream.Open.CommandTimeout=dTimeOut'15mins.Properties("OutputStream")=oStream.Properties("XMLRoot")=strRootName.CommandText=sqlStr.Execute,,adExecuteStreamEndWithGetSQLDom=oStream.ReadText'•µ»ØEndFunction
解决方案
解决方案二:
怎么就没人回答我的问题呢??哎,自己先顶一下拉!
解决方案三:
这个版块怎么搞的,怎么就是没人回答问题呢??郁闷...................................