09-08-2023 03:38 PM
This SQL statement is executed somewhere:
SELECT COUNT(1) AS total FROM web40repsoftchangeslast7day
This view contents is in the attached file:
This cause my SQL server to go bananas in the Temp base and fill it up. I ran the
query an the result is 1.000.000 rows where most of it is a identical row repeated a lot of times.
This is not something I have made, it must be part of the standard package. Any ideas what to do?
09-11-2023 03:04 PM
Hello there!
We recommend contacting support if you require further assistance with this: https://www.lansweeper.com/contact-support/
09-08-2023 05:18 PM
Looking at the results of the query, I'd have limited the Select Top statement to 1000 vs 1,000,000. This at least limits the temp base fill up if your testing out a new query.
My run shows that the only changed fields for the duplicates was the Install Date.
From here you should be able to limit the results and fine tune the query for your needs.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now