Viewing 12 posts - 136 through 147 (of 147 total)
Better than the Analyst I had who wanted to open up a .ldf in notepad to do a search for a string value! That was one for sqldumbass.com let...
December 11, 2007 at 4:02 pm
Returns more info than what is asked for and the scope is the current db just as the other approach.
December 11, 2007 at 2:33 pm
Something like this will place everything into a single result set. Just drop the temp table #Results when done.
CREATE TABLE #Results (SERVER VARCHAR(100), DatabaseName VARCHAR(100), NAME VARCHAR(100), filename VARCHAR(200))
EXEC...
December 11, 2007 at 12:32 pm
Well, since it needs to work for 2005 as well as 2000 you can't use the DMVs or DMFs. This will do the trick however:
EXEC sp_MSForEachDB
'SELECT CONVERT(char(100), SERVERPROPERTY(''Servername''))...
December 11, 2007 at 10:27 am
It is not only a member of the SysAdmin server role in the SQL instance, but is also assigned to the AD group that has local administrator rights on the...
December 9, 2007 at 8:28 pm
Dominic, you could script out the changes you want to make and place the scripts in a step within a SQL Agent job and schedule it to run at the...
December 8, 2007 at 2:56 pm
I used to use sp_update_user_logins all the time, but with 80+ servers and almost 1,000 databases that I support without aid of a Jr. DBA I had to abandon that...
December 5, 2007 at 8:05 am
What I tend to do is estimate out 3 years of growth and size the databases I support initially to be that 3-year final size. Why 3 years? ...
November 29, 2007 at 12:00 pm
I will agree with Steve that auto close will work, and sledgehammers are fun to play with... just so long as these are not mission-critical databases. I work...
November 29, 2007 at 6:26 am
Steve, isn't that kind of like hitting a nail with a sledgehammer? Or more like hitting a cute, adorable puppy with one? Even if you are not sure...
November 28, 2007 at 7:39 am
Gary, are you interested in looking at activity that has already occurred or in setting something up to monitor activity over a period of time starting now? What sort...
November 27, 2007 at 9:40 am
I recently ran across this myself. We had multiple linked servers on different SQL servers hitting Oracle and doing so quite well for years. Then it was brought...
November 27, 2007 at 9:14 am
Viewing 12 posts - 136 through 147 (of 147 total)