Viewing 15 posts - 39,361 through 39,375 (of 49,552 total)
Paul White (4/30/2009)
I use Chrome, and the standard code=sql thing makes for really quite small text, so I added size=3 which looks good in Chrome.I'll stop doing that eh?😀
Please. I...
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
April 30, 2009 at 4:25 pm
You do know that your link in that thread is broken?
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
April 30, 2009 at 3:37 pm
Excluding, of course, creation of any constraints or indexes
With the same table that I used earlier, I make it
Table 'Users'. Scan count 1, logical reads 269, physical reads 0
SQL...
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
April 30, 2009 at 3:30 pm
Oracle Express has a web interface. i was using that. I think I'll find something else to use now.
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
April 30, 2009 at 3:23 pm
RBarryYoung (4/30/2009)
Glad Gail got to him first, she always handles these very professionally. I would have had him two feet off the ground, grasping at his own throat.
That's one...
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
April 30, 2009 at 3:20 pm
This may be of interest to you.
http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
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
April 30, 2009 at 1:46 pm
ALTER TABLE Users ALTER COLUMN UserName VARCHAR(42)
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
April 30, 2009 at 1:36 pm
From Books Online (page on CASE)
Returns the highest precedence type from the set of types in result_expressions and the optional else_result_expression.
All of the columns you specify in the CASE...
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
April 30, 2009 at 12:44 pm
RBarryYoung (4/30/2009)
Don't forget to put the CASE back in if you do.
True. That's what I get for posting while playing computer games....
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
April 30, 2009 at 12:44 pm
Frank Carrelli (4/30/2009)
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
April 30, 2009 at 12:43 pm
SELECT CustomerID,
MaxCommentDate
FROM Customer INNER JOIN
(select Max(Comment.CommentDate) AS MaxCommentDate, CustomerID
From Comment
Where CommentType = 1
GROUP BY CustomerID) AS Comments ON...
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
April 30, 2009 at 12:32 pm
Udfs have an unpleasnat tendency to perform rather poorly. One reason being that they run once for each row of the resultset so if you have 50000 customers, that function...
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
April 30, 2009 at 12:19 pm
RBarryYoung (4/30/2009)
Hmm, depending on the duplicates density, this might be faster:
Better on IOs, worse on time (at least on my PC)
SQL Server parse and compile time:
CPU...
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
April 30, 2009 at 11:44 am
RBarryYoung (4/30/2009)
Steve Jones - Editor (4/30/2009)
Anyone got a better performing solution than Gail?Heh. Now you know we'll need to see the execution plan to better answer that. 😀
Use...
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
April 30, 2009 at 11:40 am
Please don't cross post. It just wastes peoples time and fragments replies.
No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic707543-150-1.aspx
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
April 30, 2009 at 10:53 am
Viewing 15 posts - 39,361 through 39,375 (of 49,552 total)