Re: Views vs Stored Procedures, whats the difference?
- From: Stevel <stevenlangenaken-at-@xxxxxxxxxxxxxxxx>
- Date: Fri, 27 Jan 2006 16:33:05 +0100
mooreit wrote:
The difference between a view and a stored procedure is exactly what the names say. With a view, you can define a select-query that retrieves specific information from one or more tables (a stored select-statement). A stored procedure can do much more: it can run multiple sql-commands, has control-of-flow statements and accepts parameters. Also, giyf: http://www.google.be/search?q=view+vs+stored+procedureThe purpose for my questions is accessing these technologies from applications. I develop both applications and databases. Working with Microsoft C#.NET and Microsoft SQL Server 2000 Production and 2005 Test Environments.
What is the purpose of a view if I can just copy the vode from a view and put it into a stored procedure?
Should I be accessing views from stored procedures?
Should I use views to get information? and Stored Procedures for Inserts, Updates and Deletes?
What are the performance differences between the two?
Thank you for any and all information.
SBProgrammer
Stevel .
- References:
- Views vs Stored Procedures, whats the difference?
- From: mooreit
- Views vs Stored Procedures, whats the difference?
- Prev by Date: Re: Difficult SQL Statment
- Next by Date: Re: SQL Server does not exist or access denied
- Previous by thread: Views vs Stored Procedures, whats the difference?
- Next by thread: Re: Views vs Stored Procedures, whats the difference?
- Index(es):
Relevant Pages
|