Hi, I have a view that takes about 4 seconds to run. However, I would like to only update the view once every 10 minutes so I can query off of that view and have the SQL query only take milliseconds instead of 4023 milliseconds.
Is there a way to do this with a view? Or should I maybe be creating a table and update it every 10 minutes?
I have looked at the estimated execution plan in query analyzer and it does not help much. This view is fairly complex and the SQL queries I will run off of that temporary table are extremely simple and should not take much time at all.
Thanks for any info. Still learning the ways of SQL Server!
Andrew
Is there a way to do this with a view? Or should I maybe be creating a table and update it every 10 minutes?
I have looked at the estimated execution plan in query analyzer and it does not help much. This view is fairly complex and the SQL queries I will run off of that temporary table are extremely simple and should not take much time at all.
Thanks for any info. Still learning the ways of SQL Server!
Andrew