archana.kulkarni
2nd March 2010, 09:26 PM
Error: com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set with sql server 2008 driver
This happens when a proc execute DML before producing a result set.
Solution is to “SET NOCOUNT ON” in data-source properties.
Modify data source and then add one property with
Type: SQL Name: SET NOCOUNT ON
http://www.seemoredata.com/en/../wiki/_media/troubleshooting:datasources:nocount_on.png (http://www.seemoredata.com/en/../wiki/_detail/troubleshooting:datasources:nocount_on.png?id=trou bleshooting%3Adatasources%3Amicrosoft_sql_server)
This happens when a proc execute DML before producing a result set.
Solution is to “SET NOCOUNT ON” in data-source properties.
Modify data source and then add one property with
Type: SQL Name: SET NOCOUNT ON
http://www.seemoredata.com/en/../wiki/_media/troubleshooting:datasources:nocount_on.png (http://www.seemoredata.com/en/../wiki/_detail/troubleshooting:datasources:nocount_on.png?id=trou bleshooting%3Adatasources%3Amicrosoft_sql_server)