Yes, a view just executes the SELECT.

No performance difference.




date: Wed, 15 Jan 2025 12:51:03 -0500
from: Jay Vaughn <jeffersonvaughn@xxxxxxxxx>
subject: db2 views

doesn't the sql code in a view execute during runtime just like sql in a
stored procedures?

any advantage in having in one vs the other when considering performance?



thanks

Jay



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.