I want to know how to execute a PreparedStatement? First of all, what
is the purpose of such methods as setString, setDate or setInt? What
are the parameters for them? What does the first parameter, which is
always an integer, stand for? What about the second parameter?
Please help me get this idea. Thanks
Aaron B
Andy Flowers - 25 Nov 2004 14:14 GMT
> I want to know how to execute a PreparedStatement? First of all, what
> is the purpose of such methods as setString, setDate or setInt? What
[quoted text clipped - 3 lines]
>
> Aaron B
Why not take a look at the documentation,
Try
http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html
or
http://java.sun.com/developer/Books/JDBCTutorial/
or
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/PreparedStatement.html
or
search [insert favourite web serch engine here] Jdbc PreparedStatement