Skip to content

java.sql.SQLException: Column Index out of range

i need a help when i execute the following MYSQL command in Navicat i get

when i fire it in java i get

Code :-

Advertisement

Answer

Since you are only getting 1 column, you are out of range. You change your code as follows, and remove your counter.

User contributions licensed under: CC BY-SA
9 People found this is helpful