Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is user stored procedure & it purpose?

Answers were Sorted based on User's Feedback



What is user stored procedure & it purpose?..

Answer / 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

What is user stored procedure & it purpose?..

Answer / hari

Stored procedure is nothing but a Set of T-Sql statements
combined to perform a single task of several tasks. it's
like a macro

Is This Answer Correct ?    3 Yes 1 No

What is user stored procedure & it purpose?..

Answer / satish kanaujia

A stored procedure is a named group of SQL statements that
have been previously created and stored in the server
database. Stored procedures accept input parameters so that
a single procedure can be used over the network by several
clients using different input data. And when the procedure
is modified, all clients automatically get the new version.
purpose:
Stored procedures reduce network traffic and improve
performance. Stored procedures can be used to help ensure
the integrity of the database.
e.g. sp_helpdb, sp_renamedb, sp_depends etc.

Is This Answer Correct ?    4 Yes 4 No

What is user stored procedure & it purpose?..

Answer / ramanirajan das

A stored procedure is a named group of SQL statements that
have been previously created and stored in the server
database. Stored procedures accept input parameters so that
a single procedure can be used over the network by several
clients using different input data. And when the procedure
is modified, all clients automatically get the new version.
Because store procedure is pre complied so it need not compile
when u r doing some operation in procedure.
purpose:
Stored procedures reduce network traffic, secure and improve
performance. Stored procedures can be used to help ensure
the integrity of the database.
e.g. sp_helpdb, sp_renamedb, sp_depends etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

0 Answers  


How to use values from other tables in update statements in ms sql server?

0 Answers  


What are the default system databases in sql server 2000?

0 Answers  


Mention the different types of replication in sql server.

0 Answers  


What is triggers and stored procedures?

0 Answers  


What is the use of for clause?

0 Answers  


How to create indexed view?

0 Answers  


How to encrypt data between dialogs?

0 Answers  


How to get the number of affected rows?

0 Answers  


What are the advantages of partitioning?

0 Answers  


Explain Different types of Projects?

1 Answers  


What is cdc in sql server?

0 Answers  


Categories