banner.jpg

Search

Home > Business > Careers > Sql Server Interview Questions: Store Procedures

  Sql Server Interview Questions: Store Procedures
 
A Store Procedure is a Sql Query that is stores in database in Sql Server. One thing is that there is no need to query to be write on front end code. Using store procedure improves performance now the question arise how its improve performance. Lets suppose we have to put some select query (select * from dotnetquestion where id>1000 and id<5000)

Here dotnetquestion is table and 1000 user are using this query at the same time. So lot of network traffic is there and network congestion occurs. Some of connection are disconnected due to network traffic and again reset and network traffic sent twice. So query really slow down the process.
So to get release from network traffic sends some little information on network. So all this things done when information is stored on Sql Server. Store procedure plays there role to execute store procedure we need only a little command to handle store procedure. Another advantage of store procedure is overhead means when we run some ad hoc queries it must compiled mainly every time when they are run but store procedure are precompiled. When store procedure gone in compiling plan is already in memory as compares to Sql Query a plan is created on the basis of joins and where clauses. So store procedures are fasters.

Another great advantage of DBMS is that when there is any change in query only we have to change the query only at one place that is on the servers.

But there are also situations when store procedure is not helpful where query are changed frequently. There are different types of store procedure some of these store procedure are as folm.

1. user defined store procedure
2. Systems Store Procedure
3. Extended Store Procedure
Article Source:  http://global-in-arm.com/
  Please Rate this Article
  

New Article
Office Furniture Cover Letter Example
Finding Yourself: Top Personality and Career Tests on the Web
Invest in Yourself
IT and Telecoms Vacancy numbers on the increase
How to Overcome Looking Young at Work
Looking For A Manual Job? The Basics Of A Temporary Assembly Workers Job
The Art Of Career Planning
The Uk Energy Experts And Energy Training
How To Ask Your Employer For A Raise
How To Get A Career In Energy
 
Old Article
Plumbing Design As A Career
How To Improve Self Confidence At Work?
10 Power Tips for Presentations with Computer Projection
21st Century Career Success
21 Questions to Ask Before You Buy Any Shopping Cart System
10 Really Good Reasons to Quit Your Job and Start Your Own B
10 Things Managers/Supervisors Should Know When Dealing With
10 Tips to Help Get your Virtual Business Up and Running Qui
18 Caveats on How Not to Change
16 Mantras for Building Financial Wealth
25 Leadership Maxims
Brand YOU(r) --7 Steps to Cultivate Your Brand and Bring Out
6 Amazing Secrets To Work At Home Success
5 Ways to Work More Effectively With Your Administrative Ass
6 Tips To Create Your Own Fortune With "How To" eBooks
9 Steps to Public Speaking Success
The Lead - Up to The Irish Driving Test.
Be Better at Business And Lose Weight, Too!
A New Age Of Small-Unit Leadership
Practical realities of Custom Bike Building
Raising Children is a Big Job: How Parents Can Get Support
The Gen X of Car Waxes
The Irish Driving Scene.An Instructors Perspective.
The Top 10 Ways To Improve Your Interview Body Language - Part One
Four Absolute Must-Do’s To Create A Money-Making Home Business
It's Much More Fun To Quit Your Job And Use Your Brain To Survive!
Three Secrets to Getting a Promotion
10 Easy-to-learn Tips On Handling Interruptions
10 Good Reasons for taking Driving Lessons.A Guide for the I
10 Keys to Rise From Retrenchment and Move on to an Exciting

Discount Hotel Reservations
Shareware, Freeware Thiet ke noi that 

Counter:
604988


Copyright © 2006 http://global-in-arm.com LLC. All Rights Reserved.

Exchange sites: Contact Us (email: redbluevn@yahoo.co.uk)