What is Stored procedure ?

Answer Posted / nitin bisht

A stored procedure is a group of Transact-SQL statements
compiled into a single execution plan.

Stored procedures return data in four ways:
* Output parameters, which can return either data (such
as an integer or character value) or a cursor variable
(cursors are result sets that can be retrieved one row at a
time).
* Return codes, which are always an integer value.
* A result set for each SELECT statement contained in
the stored procedure or any other stored procedures called
by the stored procedure.
* A global cursor that can be referenced outside the
stored procedure.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is redis good for?

557


What is the advantage of varchar2 over char?

799


Explain artificial key?

743


What is aws documentdb?

648


how can we view column head in first page but not in remaining pages?

1608






What is difference between server and database?

574


how can you perform lookup range in lookup stage expalin in detail?

1529


Explain inner and outer joins with examples.

717


Explain entity ?

606


can u combine pipeline parallelism and partition parallalism? how and whan?

1885


What are different types of blocks used in stored procedure?

633


Explain alternate key?

652


What is the difference between specialization and generalization?

585


How to shrink a database?

548


What is a database example?

541