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

What is the default sql server instance name?

560


What is data set in report?

97


Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .

1493


What is a with(nolock)?

581


what is an index? : Sql server database administration

525






What is create command?

526


What are the advantages of using stored procedures?

544


How many categories of functions based their return modes?

598


What is the command used to check locks in microsoft sql server?

547


Can sql servers link to other servers?

567


Can we call stored procedure in view in sql server?

500


What is always encrypted?

520


What is the difference between upgrade and migration in sql server?

598


How to delete duplicate records based on single column from a table?

606


What is t-sql script to take database offline – take database online.

605