Viewing 14 posts - 76 through 89 (of 89 total)
Agreed that this is better but it requires SQL 2008.
Lee
October 26, 2012 at 2:30 pm
Excellent script. However, I don't understand the reason for the test in:
IF CAST(LEFT(CAST(SERVERPROPERTY('ProductVersion') AS VARCHAR),1) AS INT)>8
I understand that the ComputerNamePhysicalNetBIOS property did not exist prior tp SQL 2000...
September 25, 2012 at 7:04 am
Excellent script! Thanks. This is very useful.
Lee
September 18, 2012 at 7:38 am
Depending on how long ago tempdb physically grew you may be able to query the default trace file if you have it enable. It is enabled by default. It captures...
September 4, 2012 at 7:57 pm
This code will tell you if the default trace is enabled:
SELECT * FROM sys.configurations WHERE configuration_id = 1568 AND value_in_use = 1
If it IS enabled then this code will tell...
June 14, 2012 at 7:43 am
John,
Thank you for an excellent and very useful script.
Lee
May 15, 2012 at 7:36 am
It's not the code. I have run into this problem a few times when I copy code from this site. I seems that some Unicode characters get inserted in the...
May 10, 2012 at 6:43 am
Great script. Very useful.
I made one small change to the Linked Server section though. This eliminates displaying the current SQL instance from showing up as a linked server.
SELECT ...
May 4, 2012 at 8:37 am
Is this what you are looking for:
SELECT
log.name AS [Name],
ISNULL(log.default_language_name,N'') AS [Language],
l.alias AS [LanguageAlias],
ISNULL(log.default_database_name, N'') AS [DefaultDatabase],
CAST(CASE sp.state WHEN N'D' THEN 1 ELSE 0 END AS bit) AS [DenyWindowsLogin],
CASE WHEN N'U'...
February 3, 2012 at 8:56 am
Mystery Solved!
The odd traces are being created by our monitoring software, Foglight for SQL Server (Quest Software).
Thanks again for everyone's help.
October 11, 2011 at 11:00 am
Thanks for the quick response. It looks like they are tracing deadlock graph, event id 148. No tsure why they are there since trace flag 1222 is not enabled....
October 11, 2011 at 8:12 am
Wow! Thanks Lowell. Excellent procedure. I have no idea where the trace originated from but it looks like it is for deadlocks. Here is the output from your excellent proc,...
October 11, 2011 at 7:58 am
I found that if I included 'password', 'PASSWORD', and 'Password' in the @WeakPwdList table variable the script would not return all users with those passwords. The fix was to use...
January 5, 2010 at 11:18 am
Ellen,
Thank you, thank you, thank you!! This was driving me nuts. What forum did you find this on?
Lee
January 8, 2009 at 11:06 am
Viewing 14 posts - 76 through 89 (of 89 total)