preparedstatement p= new preparedstatement
is it possible ?

Answer Posted / suresha

No,It should be following syantx

Preparestatement ps=con.preparestament("some query");

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a datasource in java?

514


Why do we need a jdbcrowset like wrapper around resultset?

783


Is jdbc open source?

468


Explain the difference between inner and outer join ?

523


How can I get or redirect the log used by DriverManager and JDBC drivers?

530






What does the jdbc connection interface?

546


How do you insert images into database using jdbc?

576


What is jdbc and its types?

505


How can you make the connection using jdbc?

572


What is the function of drivermanager class?

562


What is data source in java?

534


What is odbc jdbc?

544


Explain the importance of drivermanager.

723


What is JDBC ResultSet?

604


What is executeupdate in java?

486