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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net General
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
what is the use of stored procedure which has only one 
select statement over simple select statment query ? Why to 
write a stored procedure then ?
 Question Submitted By :: Shirishakyatoor
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the use of stored procedure which has only one select statement over simple select statment query ? Why to write a stored procedure then ?
Answer
# 1
Because stored procedure are pre compiled and need not to 
compile again .it is faster than simple query.
 
Is This Answer Correct ?    0 Yes 0 No
Ravinder Kumar
 
  Re: what is the use of stored procedure which has only one select statement over simple select statment query ? Why to write a stored procedure then ?
Answer
# 2
SP are better than SQL Query, but UDF (User Defined 
Function) are even beter. Since it can be called in any 
query and will return multiple records
 
Is This Answer Correct ?    0 Yes 0 No
Rkasha
 
 
 
  Re: what is the use of stored procedure which has only one select statement over simple select statment query ? Why to write a stored procedure then ?
Answer
# 3
execution of the stored procedure is faster than simple sql 
statement query.

for e.g. 

select * from tablename is simple sql statement

create proc temp
as 
begin

select * from tablename 

end 

above is sp of that statement.
 
Is This Answer Correct ?    0 Yes 0 No
Hardik
 

 
 
 
Other Dot Net General Interview Questions
 
  Question Asked @ Answers
 
What is serialization in .NET? What are the ways to control serialization?  1
What is the model role in Mvc architecture?  3
How can you see which services are running on a Windows box?  1
How .NET is able to support multiple languages?  1
What are the contents of assembly? Ksb4
Directcast(123.34,integer) - should it throw an error? Why or why not? Wipro1
What is Global Assembly Cache (GAC) and what is the purpose of it? Ksb2
How many languages .NET is supporting now? IBS2
asp mean CTS1
Readonly vs. const? Hewitt2
Which server tag comes from server when we submit any data  1
i have 2 functions, int add(int a,int b); double add(int a,int b); does this code implement overloading? if not what will be the error? Deloitte3
What are the features of UIP Application Block?  1
What is a strategy pattern? Implement it.  1
differance between checkbox and rediobutton in vb.net?  1
What application do you use to install a Windows service?  1
In Mvc Architecure what is view? TCS1
What is view state? TCS4
How will you register com+ services?  1
What is the raise event used for? Wipro3
 
For more Dot Net General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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