I looks like JDBC.executeQuery() for multi-statement "select into; select @@rowcount" should throw "The statement did not return a result set" exception and it doesn't - is this a bug or a feature?
Note: My problem is to reproduce an exception when executing JDBC.executeQuery("select into; select @@rowcount") - all my out of box SQL Servers returns result set without an exception.
Note: Of course, execute() should be OK and it's second result is a result set.
Note: Already asked this question on following other sites with no correct answer so far: