What is Stored procedure ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / siva kishore
Def:- Stored Procedure is a set of pre-compiled sql statements.
Advantages:
* No need to compile the sql queries again n again when
using frequently.
* Increases execution performance and also reduces the
burden on the database connection.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravishankar
Stored procedures are pre-compiled object in the Database
which is used to reduce the network traffic.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / arshi
Stored procedure is bunch of query. it more beneficial
then query.
Is This Answer Correct ? | 1 Yes | 4 No |
What is the candidate key used for?
What does currency type mean in database?
Explain storage manager?
diff b/w inter process and in process
How heap is implemented in database?
What is a database example?
Write a query to retrieve for many to many relationships?
Which Statement would you use to remove the EMPLOYEE_Id_PK PRIMARY KEY constraint and all depending constraints from the EMPLOYEE table?
What is the use of graph database?
Explain entity set?
List various types of log-based recovery in DBMS.
can i use the commands "modify" and Change in DB2 to alter my column datatype and its name in a table?