This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "sql Exception" Watch "sql Exception" New topic
Author

sql Exception

Karthikeyan Alagarsamy
Greenhorn

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?


Mani
Quaerendo Invenietis
cat cater
Ranch Hand

Joined: Jun 06, 2005
Posts: 39
god,your sql syntax is wrong.please check.
 
 
subject: sql Exception