What is difference between createstatement and preparedstatement?



What is difference between createstatement and preparedstatement?..

Answer / Jyoti Shukla

CreateStatement is a method used to compile SQL statements into PreparedStatements. PreparedStatements are precompiled and optimized, while CreateStatement generates a new Statement object each time it's called.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Does transparent data encryption provide encryption when transmitting data across the network?

1 Answers  


Explain filtered indexes benefits?

1 Answers  


Types of Authentications in Sql Server? How user gets authenticated through windows authentication?

1 Answers   MCN Solutions,


Explain how does the report manager work in ssrs?

1 Answers  


What are the essential components of sql server service broker?

1 Answers  


How to make remote connection in database?

1 Answers  


does physical index sort data

1 Answers  


You want to implement the many-to-many relationship while designing tables. How would you do it?

1 Answers  


Explain alternate key, candidate key and composite key in sql server?

1 Answers  


How do indexes help, types?

1 Answers  


what is joins please explain breffly ??

1 Answers   Adaequare, TCS,


What are the different types of upgrades that can be performed in sql server?

1 Answers  


Categories