October 4, 2007 at 1:19 pm
I have a view where I need to use a sub query in the from clause
select
:
:
from
(
select a, b, c from X....
)
Is there any perfomance difference if I use the sub-query "(select a, b, c from X.... )" in a view and then use the view in the final query. Is there any performance difference between the view approach and the sub-query approach? I feel that the sub-query performs better. Please advise.
October 4, 2007 at 3:19 pm
DB developers are not allowed to feel anything.
They must KNOW.
If they don't know they must TEST.
Try both ways and see fir yourself.
_____________
Code for TallyGenerator
October 6, 2007 at 1:32 pm
After that... drink beer! 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply