What is user stored procedure & it purpose?

Answer Posted / arunyadav007

There are two type of stored procedures. System Stored
Procedure and User Stored Procedure (User Defined Stored
Procedure).

User SProcs serves the same purpose as the system SProcs.
Now the question comes what is the need to write a stored
procedure?
Suppose in your organization there are certain queries
which are used very frequently or there are certain queries
in which you don't want users to know that what all tables/
views etc. are scanned to get the desired result or, for
faster execution of a frequently used query you write
stored procedures.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which table keeps information about stored procedures?

728


Explain use of expression builder.

756


How to enforce security in sql server? : sql server security

827


What is built-in/administrator?

753


Scalability, Availability, Integration with internet, etc.)?

2616


How will you make an attribute not process? : sql server analysis services, ssas

774


Explain a join?

794


What is a performance monitor?

733


What is unique key constraint?

823


Explain the working of sql privileges?

817


What are the components of dbms?

724


How self join is different from outer join?

807


What is lock escalation and what is its purpose?

733


What is user-defined inline table-valued function?

708


Where is my database stored on the hard disk in ms sql server?

787