GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Database  >  SQL Server
Go To First  |  Previous Question  |  Next Question 
 SQL Server  |  Question 58 of 94    Print  
What is the Disadvantage of StoredProcedure?

  
Total Answers and Comments: 3 Last Update: August 07, 2008     Asked by: sbehera02 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 03, 2007 05:25:13   #1  
Chand Basha        

RE: What is the Disadvantage of StoredProcedure?

It increase the load on server. if other applications are using same DB server, they become solw.

Chand.


 
Is this answer useful? Yes | No
January 09, 2007 19:15:00   #2  
       

RE: What is the Disadvantage of StoredProcedure?
It is possible that the statistics have changed since a stored procedure was compiled and thus may be executing a less the optimal executionplan, thus it may run slower.
 
Is this answer useful? Yes | No
August 07, 2008 08:33:23   #3  
anjan_maity Member Since: April 2008   Contribution: 6    

RE: What is the Disadvantage of StoredProcedure?
When a procedure is created a execution plan is created, proc is executed according to that execution plan. When we modify the proc it also follow this execution plan.
When index is rebuild, new index structure is created, but the proc follows the old execution plan because it was compiled, so there is a chance of unexpected result.
For this there is need to recompile the proc.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape