Viewing 15 posts - 18,196 through 18,210 (of 49,552 total)
Not at all. Read up on 3-state logic. TRUE, FALSE and UNKNOWN. Any comparisons with NULL (other than IS NULL/IS NOT NULL) return UNKNOWN, not TRUE or FALSE
WHERE SomeColumn !=...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 8, 2012 at 5:06 am
Sorry, but what did you want me to say? That one is faster than the other? That one is better than the other?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 8, 2012 at 4:56 am
If I may recommend... Don't reinvent the wheel, don't rebuild everything without checking. Use an existing index rebuild script
http://sqlfool.com/2011/06/index-defrag-script-v4-1/
http://ola.hallengren.com/Versions.html
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 8, 2012 at 3:50 am
pdanes (6/8/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 8, 2012 at 3:30 am
grummle (6/7/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 8, 2012 at 3:26 am
Once again...
High memory usage is typically what you want, it means SQL is using the resources on the server.
Those values look good, I'd love a server with such high page...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 8, 2012 at 3:20 am
It's stored within the plans themselves. The properties of the top-most operator (the SELECT, UPDATE, INSERT, DELETE, etc) has a property CompileTime. That's the time in ms the query took...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 4:22 pm
Support agreement?
Long recovery time from lots of VLFs is not a bug. There have been several changes that MS made to try and optimise the recovery, knowing how many DBs...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 3:16 pm
SQL_path (6/7/2012)
Any ideas?? thanks
Yes
GilaMonster (6/7/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 12:40 pm
IsNumeric should actually be called something like CanBeConvertedToSomeNumericdataType
IsNumeric('123,234') returns 1, but it can't be converted to numeric, only money
Try casting to float if the accuracy isn't a problem, it's a...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 11:53 am
inevercheckthis2002 (6/7/2012)
I was thinking (mistakenly, no doubt) that the transaction log would not be needed when switching to simple recovery model.
Incorrect. All data modifications are logged, always
So, let me pose...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 11:06 am
Sure
DECLARE @DataType SYSNAME;
SET @DataType = 'image';
SELECT OBJECT_NAME(object_id) AS TableName ,
c.name AS ColumnName ,
t.name...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 10:24 am
What do you mean by 'go away'
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 10:07 am
"I would use this solution" != "I would write this exact piece of code" Unless you define a solution to include the exact layout, format, punctuation, spacing, capitalisation, etc.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 8:12 am
Doesn't mean he's write exactly that in exactly the same format with the same odd variable naming and indentation.
I find if very strange you're calling someone a sloppy coder purely...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 7, 2012 at 8:02 am
Viewing 15 posts - 18,196 through 18,210 (of 49,552 total)