jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases and the fly likes PreparedStament and Statement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "PreparedStament and Statement" Watch "PreparedStament and Statement" New topic

PreparedStament and Statement

Sakthi Kani
Ranch Hand

Joined: Mar 29, 2005
Posts: 98

Please tell me the difference between PreparedStatement and Statement.

I know PreparedStatement represents the precompiled SQL statement, But i donno when it will be compiled..

Please help me to clear.

Since I am new to JDBC, tell me the good book or website to get the clear concepts of jdbc.

Thanks in Advance..

" Don't be afraid of pressure. Remember that pressure is what turns a lump of coal into a diamond... " <br /> <br />Thanks & Regards...<br />Sakthi<br />SCJP1.4, OCA
sweta naidu

Joined: Nov 02, 2004
Posts: 25
refer this link http://www.jguru.com/faq/view.jsp?EID=693
or type your question in google and go through the urls to get convincing answer.
I agree. Here's the link: http://aspose.com/file-tools
subject: PreparedStament and Statement
It's not a secret anymore!