A rowset based on the SQL command was not returned by the OLE DB provider
2013-11-12 11:52
513 查看
今天使用SSIS OLEDB Source
调用存储过程出现下面的错误:
A rowset based on the SQL command was not returned by the OLE DBprovider
解决办法:
在存储过程中使用 setnocount
on ;
原因:
因为执行存储过程中返回影响行数信息先于真实的数据返回,而SSIS尝试读取这个结果集,导致出现错误。使用set nocount on之后阻止在结果集中返回可显示受 Transact-SQL语句或存储过程影响的行计数的消息从而只返回真正的结果集。
调用存储过程出现下面的错误:
A rowset based on the SQL command was not returned by the OLE DBprovider
解决办法:
在存储过程中使用 setnocount
on ;
原因:
因为执行存储过程中返回影响行数信息先于真实的数据返回,而SSIS尝试读取这个结果集,导致出现错误。使用set nocount on之后阻止在结果集中返回可显示受 Transact-SQL语句或存储过程影响的行计数的消息从而只返回真正的结果集。
相关文章推荐
- A rowset based on the SQL command was not returned by the OLE DB provider
- MS SQL 错误:The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "test" was unable to begin a distributed transaction.
- OLE DB provider SQLOLEDB supplied inconsistent metadata. An extra column was supplied during execution that was not found at com
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
- The Excel Connection Manager is not supported in the 64-bit version of SSIS, as no OLE DB provider i 推荐
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java
- Cannot obtain the schema rowset "DBSCHEMA_TABLES_INFO" for OLE DB provider "SQLNCLI10" for linked server "DB1".
- IDEA搭建ssm框架测试衍生出的问题The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Develop\jdk7\jdk1.7.0_79\bin;
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
- Cannot obtain the required interface ("IID_IDBCreateCommand") from OLE DB provider "OraOLEDB.Oracle" for linked server xxxx
- The operation could not be performedbecause OLE DB provider "SQLNCLI" for linked serve
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 问题的解决
- Error message: OLE DB provider SQLOLEDB was unable to begin a distributed transaction
- The Excel Connection Manager is not supported in the 64-bit version of SSIS, as no OLE DB provider i
- The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java
- eclipse:报错信息The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法
- 错误:HttpServlet was not found on the Java