Viewing 15 posts - 2,401 through 2,415 (of 2,610 total)
Vlad-207446 (9/4/2015)
although we had an update/upgrade windows from 12AM to 6AM once or twice per...
September 4, 2015 at 6:14 am
radekkokes (9/4/2015)
without "while"...Delete top xxx from yyy where zzzz
go 1000:-)
The problem is that is that 1000 might be too many or too few.
September 4, 2015 at 5:00 am
andy.m.guscott (9/4/2015)
September 4, 2015 at 2:06 am
Lee Linares (8/17/2015)
Great script. Thanks for sharing. One small problem though is this line:
IF CONVERT(int, @ServerVersion) < 10
The issue is that SQL Server 2008 does NOT support sys.dm_os_volume_stats which was...
August 17, 2015 at 9:00 am
Perry Whittle (8/14/2015)
Jonathan AC Roberts (7/24/2015)
The script only calls xp_fixeddrives if the version of SQL server is below 2008, When the version is 2008 or higher it uses dm_os_volume_stats...
August 14, 2015 at 4:38 am
I've got to say the first thing I thought as I got halfway through the article was "my god they need some indexes on those tables". You'd be surprised how...
July 28, 2015 at 6:00 am
Hi Christopher
The script only calls xp_fixeddrives if the version of SQL server is below 2008, When the version is 2008 or higher it uses dm_os_volume_stats and reports on the mounted...
July 24, 2015 at 7:15 am
Thanks for the script, it looks useful particularly the queries that return the growth settings. I'll use it when I need that information. Unfortunately, sys.dm_os_volume_stats doesn't exist in versions of...
July 21, 2015 at 9:41 am
I've written a script which works on both SQL Server 2005 and 2008. I'm running it from a registered server group. It all works but for some reason I'm getting...
July 20, 2015 at 11:18 am
SimonH (7/6/2015)
I can improve performance by performing a soft delete (Updating a bit column(isdeleted)) and then purging the records at a more convenient time. This runs in a second but...
July 10, 2015 at 12:29 pm
I think you can optimise this by using a CROSS APPLY and TOP(1). Doing it with this method you should be able to remove the master table from the subquery...
July 10, 2015 at 9:19 am
That's a horrendous complicated query! Personally I think it needs a complete rewrite.
But if you don't have time and want to improve the performance the first thing to check is...
July 10, 2015 at 7:46 am
27 seconds is quite a long time to delete from a table if the system is live. You could come across errors where inserts and updates are failing as the...
July 6, 2015 at 10:04 am
You could write a stored procedure to return the results, with a parameter of jobname. then just grant them permissions to execute the stored procedure.
July 6, 2015 at 4:30 am
What does it say in the history of the scheduled task?
Have you got the correct folder in the Start In option under Actions?
July 1, 2015 at 5:37 am
Viewing 15 posts - 2,401 through 2,415 (of 2,610 total)