You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
have access to post topics
communicate privately with other members (PM)
not see advertisements between posts
have the possibility to earn one of our surprises if you are an active member
access many other special features that will be introduced later.
what are the differences between them? which is the best ? in what case do I have to use preparedstatement?
I'm developing a web application and it has a data base connection.
What do you recommend me to use?
thanks
It is better to use prepared statement because it is faster for the data base server. And you must close it after you are done with it (not keeping it open for a long period). Why keep an unnecessary resource in memory?