What is a Stored Procedure?

Answer Posted / dharmendra k. dixit

An Stored Procedure is basically a set of T-SQL Statement,
it hv lot of benifits thats y we are using SPs.
Some are the advantages of Stored Procedures.
1. it reduses the Network Traffic.
2. we can execute SP inside SP.
3. it takes slower time in execution bcz its a
preCompiled statement.
4. create once and can use multiple times.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What specific conditions database should meet, before you can bulk copy data into it using bcp?

550


What is Fragmentation and Defragmentation? For 32GB Table,How can we do the fragmentation?

3769


What is a mixed extent?

605


Where sql server usernames and passwords are stored in a sql server?

504


Is sql server implemented as a service or an application? : Sql server database administration

516






Where the sql logs gets stored?

552


Is sql server free?

529


Does order by actually change the order of the data in the tables or does it just change the output?

717


Sql server reporting services vs. Crystal reports.

98


What is a heap?

627


Explain DBCC?

580


What are the events recorded in a transaction log?

516


How to apply cascading referential integrity in place of triggers?

585


How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?

690


What is cursor in ms sql server?

575