
If we write as follows: String query = "insert into st_details values(?,?,?)"; PreparedStatement ps = con.prepareStatement(query); then after query has been prepared, can we check the index of "?". If yes then how?

Hello Friend,
Please visit the following links:
http://www.roseindia.net/jdbc/prepared-statement-insert.shtml
http://www.roseindia.net/jdbc/insert-prepared-statement.shtml
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.