Hi,
I am having the following problem: I have an SQL statement that works fine in MS SQL Query Analyser, but when I try to call it from a servlet I get
'Exception in main try block exception: [JRun][SQLServer JDBC Driver]No ResultSet set was produced.'
When I run the code in the MS SQL Query Analyser(which contains a loop condition) I get the following output:
(1 row(s) affected)<this appears 60 times, once for each iteration of the loop, it is an insert into a temporary table>
dayNumber totalEntrants totalEntrantsPerm EnglishDate
----------- ------------- ----------------- --------------------------------------------------
0 69 31 Oct 8 2001
<snip>
59 12 6 Dec 6 2001
(60 row(s) affected)
Does anyone have any experience with this. I am wondering if it is possible to suppress the insert output, or if it is not possible to do what I am trying to do. Sorry for the lengthy post.
I am having the following problem: I have an SQL statement that works fine in MS SQL Query Analyser, but when I try to call it from a servlet I get
'Exception in main try block exception: [JRun][SQLServer JDBC Driver]No ResultSet set was produced.'
When I run the code in the MS SQL Query Analyser(which contains a loop condition) I get the following output:
(1 row(s) affected)<this appears 60 times, once for each iteration of the loop, it is an insert into a temporary table>
dayNumber totalEntrants totalEntrantsPerm EnglishDate
----------- ------------- ----------------- --------------------------------------------------
0 69 31 Oct 8 2001
<snip>
59 12 6 Dec 6 2001
(60 row(s) affected)
Does anyone have any experience with this. I am wondering if it is possible to suppress the insert output, or if it is not possible to do what I am trying to do. Sorry for the lengthy post.