Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index

 
Afsheen
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while getting a varchar column from getString() method i m getting this exception
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index
i have tried it in every possible way but unable to get rid of this problem..pls help me out!!!
 
Ali Hassaan
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have u done result.next() for moving cursor to next row.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"aahsan",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp.
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
Thanks.
Dave
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you'll find several people with the same problem if you search this forum for "Invalid Descriptor Index"
Jamie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic