SQL Database Concepts Question:
Download Questions PDF

Tell me what are the advantages of using Stored Procedures?

Answer:

- They help in reducing the network traffic and latency which in turn boosts application performance.
- They help in promoting code reuse.
- They provide better security to data.
- It is possible to encapsulate the logic using stored procedures. This allows to change stored procedure code without affecting clients.
- It is possible to reuse stored procedure execution plans, which are cached in SQL Server's memory. This reduces server overhead.

Download Basic SQL Server Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please differentiate between a primary key and a unique key?Suppose you want to implement the following relationships while designing tables. How would you do it?
a.) One-to-one
b.) One-to-many
c.) Many-to-many