What is difference statement and preparedstatement?



What is difference statement and preparedstatement?..

Answer / Upendra Kumar Ram

A SQL statement is a query or command that is sent to the database for execution. A PreparedStatement, on the other hand, is a precompiled version of a SQL statement that can be reused with different input parameters. PreparedStatements offer better performance and protection against SQL injection attacks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What are defaults? Is there a column to which a default can't be bound?

2 Answers   TCS,


Explain about unique identifier data type in sql server?

1 Answers  


How do I start sql server agent automatically?

1 Answers  


What do you mean by authentication modes in sql server?

1 Answers  


When do you create cluster and noncluster index?

5 Answers   Satyam,


What is a data collection table?

1 Answers  


Is sql server 2016 free?

1 Answers  


How do you open a cluster administrator?

1 Answers  


What are the different subsets of sql?

0 Answers  


How to join two tables in a single query in ms sql server?

1 Answers  


Why I am getting this error when renaming a database in ms sql server?

1 Answers  


What is difference between count (*) and count 1?

1 Answers  


Categories