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 a Stored Procedure?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is a Stored Procedure?
Answer
# 1
Its nothing but a set of T-SQL statements combined to
perform a single task of several tasks. Its basically like a
Macro so when you invoke the Stored procedure, you actually
run a set of statements.
 
Is This Answer Correct ?    6 Yes 0 No
Guest
 
  Re: What is a Stored Procedure?
Answer
# 2
stored procedures are bunch of SQL queries. main advantage 
of stored procedure is that it is a self compiled and 
execution speed is faster than normal query.

for e.g. 

if we write select * from tablename and if we make stored 
proc for that statement it will execute faster than normal 
query.
 
Is This Answer Correct ?    5 Yes 0 No
Hardik
 
 
 
  Re: What is a Stored Procedure?
Answer
# 3
An Stored Procedure is basically a set of T-SQL Statement, 
it hv lot of benifits thats y we are using SPs.
Some are the advantages of Stored Procedures.
1. it reduses the Network Traffic.
2. we can execute SP inside SP.
3. it takes slower time in execution bcz its a    
preCompiled statement.
4. create once and can use multiple times.
 
Is This Answer Correct ?    2 Yes 0 No
Dharmendra K. Dixit
 
  Re: What is a Stored Procedure?
Answer
# 4
SP r nothing but collection of SQL stments and control flow
of  language.it execute very fastly than a stand alone sql
statment because its a precompiled statement.SPs r reduce
the network traffic
 
Is This Answer Correct ?    1 Yes 0 No
Santhanakumari
 
  Re: What is a Stored Procedure?
Answer
# 5
Stored procedure is a set of T-Sql statements combined to 
perform a single task of multiple tasks. It do not run 
values, It performs only tasks. It reduces network traffic 
and improve the performance. It accepts the input 
parameters. It helps to ensure the integrity of the 
database.
 
Is This Answer Correct ?    1 Yes 0 No
Raghuram
 
  Re: What is a Stored Procedure?
Answer
# 6
Stored procedures are a set of control flow SQL queries. 
Main advantage of stored procedure: it is a precompiled 
statement, hence:
Some advantages of Stored Procedures are:
1. It reduces the Network Traffic.
2. We can execute standard procedure inside standard 
procedure
3. Execution faster because it’s a precompiled statement.
4. Create once and may re-use multiple times.
 
Is This Answer Correct ?    2 Yes 0 No
Peter Nguyen
 
  Re: What is a Stored Procedure?
Answer
# 7
Stored procedures are "defined once, used many times."A 
stored procedure is written using Transact-SQL (T-SQL). T-
SQL is a subset of ANSI SQL-92 that has extensions to the 
Standard. T-SQL includes variables, conditional logic, 
loops and flow control.A stored procedure allows you to put 
code or business logic on the database server.
 
Is This Answer Correct ?    2 Yes 0 No
Nivedita
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
what is meant by sql injection with example and one more question how to catch the errors in sqlserver  1
what is differece between union and union all  4
What are functions  3
What is an execution plan? When would you use it? How would you view the execution plan?  1
can anyone explain me the concept of Serialization in Detail and Clear? plz its urgent i have interview on friday (15th feb)  1
Explain the storage models of OLAP?  1
How reterive duplicate value in SQL?  5
What do you mean by COLLATION?  4
How do you fine the performance tunning? Accenture2
what is difference between primary key and Unique  8
What is WITH CHECK OPTION Karur-Vysya-Bank-KVB2
How to Generate a Series of Random Integers With T-SQL?  1
What is a cursor in SQL Server 2000 and their types?  4
What are Magic Table? Evalueserve15
How do you implement one-to-one, one-to-many and many-to- many relationships while designing tables? TCS3
What are user defined datatypes and when you should go for them?  1
what are the joins,primary key,foriegn key, candidate key, super key and expain them? Polaris2
About DTS usage ? Cognizent2
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) McAfee5
How can you get @@error and @@rowcount at the same time?  5
 
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