HiI have been looking at a SQL agent job that runs.The issue is that it joins a lot of tables as well as a lot of views. If I then try to look into the views, these views also reference views.Does anyone have any advice on how best to break it all down?Using SET STATISTICS IO ON and SET STATISTICS TIME ON I can see that one of the tables shows Scan count 3169, logical reads 212116.Is there a limit to the amount of scans or reads a table should be doing or is it all relative?ThanksSam
↧