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

Write a query to retrieve for many to many relationships?

563


HOW PASS PARAMETERS FOLLOWING ORDER RPG-CL-RPG?

1969


Is it good to store images in database?

541


what is the role of auditor in auditing data oriented applications?

1919


What is the difference between a stored procedure and a query?

580






What is difference between clustered, non-clustered and unique index?

596


What is the Lock Based Protocol used for?

632


Should I store images in database?

566


Given a table of Player which contains Sno and player name, write a query which finds all possible Table Tennis doubles pairings.

917


What is aws documentdb?

635


Why do we need distributed database?

534


What is the function of cluster index?

606


How do you connect to a database?

596


What are different types of blocks used in stored procedure?

623


What is the relationship that exists inside in E-R diagram?

626