ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
What is user stored procedure & it purpose?
 Question Submitted By :: Senthilsjc
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is user stored procedure & it purpose?
Answer
# 1
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 ?    0 Yes 3 No
Satish Kanaujia
 
  Re: What is user stored procedure & it purpose?
Answer
# 2
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 ?    2 Yes 0 No
Hari
 
 
 
  Re: What is user stored procedure & it purpose?
Answer
# 3
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 ?    4 Yes 0 No
Arunyadav007
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
How to delete duplicate records from a table?(for suppose in a table we have 1000 Records in that we have 200 duplicate Records , so ,how to findout that duplicate Records , how to delete those Records and arranged into sequence order? one more thing that there is no primary key at all) McAfee4
Can you give an example of Stored Procedure?  2
What is the Query of getting last 10 transaction Reports (like insert, update, Delete Data from Tabele) ? Wipro4
How many types of cursors are there in SQL Server? 247Customer3
what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?  2
How do SQL server 2000 and XML linked?  2
write query for fourth maximum salary from employee table Mind-Tree5
Hi..here i would like to know the Backup and Restore models? HCL2
Explain different isolation levels?  3
What are the different types of joins and what does each do?  2
can anyone explain me the concept of Serialization in Detail and Clear? plz its urgent i have interview on friday (15th feb)  1
How do I compare two values when one value(data type) is char and the other is an integer?  3
i have table students with fields classname,studname select * from students classname studname 1 xxxxx 1 yyyy 1 zzzz 2 qqqq 2 tttt 3 dsds 3 www i want the output should be No of students in class 1 : 3 No of students in class 2 : 2 No of students in class 3 : 2 HCL2
What is row by row processing ?  1
How do you find the number of rows in a table?  5
Write an SQL query if u want to select the data from one block which intern reflects in another block ? thanx,do reply Covansys1
How can I create a plain-text flat file from SQL Server as input to another application?  2
What is the difference between a Application Server and a Database Oracle2
how to implement locking in sql server Satyam1
What is lock escalation?  1
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com