What is a Stored Procedure?

Answer Posted / peter nguyen

Stored procedures are a set of control flow SQL queries.
Main advantage of stored procedure: it is a precompiled
statement, hence:
Some advantages of Stored Procedures are:
1. It reduces the Network Traffic.
2. We can execute standard procedure inside standard
procedure
3. Execution faster because it’s a precompiled statement.
4. Create once and may re-use multiple times.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the steps to use transact-sql cursor?

608


what is a check constraint?

735


What do you mean by recursive stored procedure?

597


What is the openxml statement in sql server?

626


Write a SQL query to make a column as unique?

708






What is difference statement and preparedstatement?

636


How many full-text indexes can a table have?

647


What are partitioned views and distributed partitioned views?

710


Explain contrast amongst grouped and non-bunched records?

610


What is a non-clustered index?

645


Explain different types of Normalization.

690


How to create a view on an existing table in ms sql server?

703


Does full backup break log chain?

633


What is a view and what are its advantages?

765


Define the one-to-one relationship while designing tables.

597