Viewing 15 posts - 76 through 90 (of 13,460 total)
I cannot think of something out of the box that does this, third part or not.
i think you have to do this manually, and it will be a bit of...
Lowell
if the database is in SIMPLE recovery mode, it goes back to whether the database is currently accessible or not.
you could restore last nights backup as a new database name,...
Lowell
so SQL server has a lock on the mdf/ndf/ldf files because they are in use, so are you really, really sure the mdf was encrypted?
is the database currently up and...
Lowell
no help for the specific error, but structure wise, here's some help.
If you are using SUM,MIN,MAX,AVG you need a GROUP BY statement, and a column to group by.
All columns in...
Lowell
i think sp_helprev_login has been the go to solution for years for logins.
database permissions are stored in the databases themselves, and those are scriptable from SSMS , and if you...
Lowell
well, for items that are not in index stats at all, you could use something like this:
SELECT name
FROM sys.[databases]
WHERE [database_id] NOT IN(
SELECT database_id FROM [sys].[dm_db_index_usage_stats]...
Lowell
in order to keep things ATOMic, nolock is ignored in INSERT/UPDATE/DELETE operations.
even if you added it, it would be ignored.
Lowell
Well for MaxDop recommendations, I've been using this pair of scripts which have calculations that someone else came up with.
this script takes into account numa nodes and microsofts recommendations, and...
Lowell
multi-threading is completely unrelated to how SQL server internally uses multiple cores.
a multi threaded operation is how the applciation does it's thing, SQL server is a black box as far...
Lowell
sys.dm_db_index_usage_stats already has all the index usage for all databases and all tables inside it, so you can get all the Databases all at once. no need for a loop...
Lowell
you would need to add some code to specifically stop execution in the loop if an error is encountered.
you might want to change the logic to be all-or-nothing, instead of...
Lowell
Viewing 15 posts - 76 through 90 (of 13,460 total)