Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MSSQL7.0 resultset bug?  RSS feed

 
omar khan
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody.
I am using JDK1.3.0 and MSSQL7.0 on Win NT4.0
I stepped into a strange problem. I was wondering if anyone has eperienced it yet. The problem is this:
rs is a resultset
while (rs.next())
{
somecode
}
gives me a cursor error but
boolean mybool = rs.next();
while (mybool)
{
somecode
mybool=rs.next();
}
works ok
funny, isn't it?
[This message has been edited by OMAR KHAN (edited September 26, 2001).]
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds pretty strange...never heard of that one before! Are you sure you are not just overlooking a programming error?? Post the offending code along with the error message and maybe someone can sniff out an overlooked problem for you.
Jamie
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!