FIX: Error message when you execute multiple statements in a batch command that does not return a result set in the SQL Server 2000 Driver for JDBC: "Statements that produce result sets are not allowed in batch commands" (894555)
The information in this article applies to:
- Microsoft SQL Server 2000 Driver for JDBC
SYMPTOMSConsider the following scenario. You use the Microsoft SQL Server 2000 Driver for JDBC to connect your program to a SQL Server database. You execute multiple statements in a batch command that does not return a result set. In this scenario, the SQL Server 2000 Driver for JDBC may incorrectly determine that the statements did return a result set. Therefore, you may receive the following error message: Message: [Microsoft][SQLServer 2000 Driver for JDBC]Statements that produce result sets are not allowed in batch commands.
RESOLUTIONTo resolve this problem, install SQL Server 2000 Driver for JDBC Service Pack 3. To obtain this service pack, visit the following Microsoft Web site: STATUS Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.
This problem was corrected in SQL Server 2000 Driver for JDBC Service Pack 3.
Modification Type: | Major | Last Reviewed: | 1/6/2006 |
---|
Keywords: | kbBug kbtshoot kbfix KB894555 kbAudDeveloper |
---|
|