Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Performance In Views !

Status
Not open for further replies.

PtiNico

Programmer
Jun 13, 2001
2
FR
Hi all from France !!! (sql7-2000)
i would like to know is that's a good way to use views for a simple question of performance !
i know that views can help for access security, masking of security....but what about performance !!!???????
what's the good reason to use views instead of stored procedures !???

thanks for any help !!!!!

nico
 
I think views don't have their execution plan cached unlike stored procedures.

Views are nice and simple ways of viewing AND updating data.
You need to write a select stored procedure and an update stored procedure, but is probably more efficient.
 
Generally, using views will not impact performance - if the views are well designed. Obviously, any poorly designed query whether it be submitted from the client, in a view or in a stored procedure will perform poorly. Terry

The reason why worry kills more people than work is that more people worry than work. - Robert Frost
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top