What's the purpose of Stored Procedure?

Answer Posted / m.k.manikandan

There are several purposes of using stored procedures
instead of standard SQL. First, stored procedures allow a
lot more flexibility offering capabilities such as
conditional logic. Second, because stored procedures are
stored within the DBMS, bandwidth and execution time are
reduced. This is because a single stored procedure can
execute a complex set of SQL statements. Third, SQL Server
pre-compiles stored procedures such that they execute
optimally. Fourth, client developers are abstracted from
complex designs. They would simply need to know the stored
procedure's name and the type of data it returns.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how many normalization forms?

573


What is the difference between inner join and equi join?

486


You are designing a database for your human resources department in the employee table, there is a field for social security number, which cannot contain null values if no value is given, you want a value of unknown to be inserted in this field what is the best approach?

614


What is de-normalization in sql database administration? Give examples?

528


Explain linked server in sql?

687






What is the difference between an index and a unique index?

541


How can I get data from a database on another server?

506


What is the status of services on passive node for failover cluster in sql server? : sql server database administration

628


What is an entity-relationship diagram (erd)?

580


What is difference between rollback immediate and with no_wait during alter database?

574


Explain system functions or built-in functions? What are different types of system functions?

558


How to use linked server?

581


List out the differences between the clustered index and non-clustered index in sql server?

498


Can you name a few encryption mechanisms in sql server?

535


Can sql server 2016 run on windows 7?

499