Question :What is the advantage of using PreparedStatement? (JDBC)
Answer :If we are using PreparedStatement the execution time will be less.The
PreparedStatement object contains not just an SQL statement,but the SQL
statement that has been precompiled.This means that when the
PreparedStatement is executed,the RDBMS can just run the
PreparedStatement's Sql statement without having to compile it first.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 13, 2009
What is the advantage of using PreparedStatement? (JDBC)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment