This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes sql Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "sql Exception" Watch "sql Exception" New topic

sql Exception

Karthikeyan Alagarsamy

Joined: Feb 17, 2005
Posts: 5
hi to all

i am using jdbcodbc connection .how to solve the exception.
exception is java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid descriptor index
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
Looks like the column index you are passing in your getXXX method is not right. Can you post the code, which throws the exception?

Quaerendo Invenietis
cat cater
Ranch Hand

Joined: Jun 06, 2005
Posts: 39
god,your sql syntax is wrong.please check.
It is sorta covered in the JavaRanch Style Guide.
subject: sql Exception
It's not a secret anymore!