This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Statement and PreparedStatement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Statement and PreparedStatement" Watch "Statement and PreparedStatement" New topic

Statement and PreparedStatement

Arun Kumar
Ranch Hand

Joined: Jan 21, 2005
Posts: 133

When should i use Statement and when should i use PreparedStatement?
Purushoth Thambu
Ranch Hand

Joined: May 24, 2003
Posts: 425
Check the Ranch FAQ on prepared statement.
I agree. Here's the link:
subject: Statement and PreparedStatement
jQuery in Action, 3rd edition