Viewing 15 posts - 56,266 through 56,280 (of 59,070 total)
Yes, please post the query... chances are, the criteria in the WHERE clause is what's keeping the index from being used...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 31, 2007 at 7:15 am
Heh... you DO have a way with words! Good thing I had a DBA with the same type of extremely dry humor you do ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
May 31, 2007 at 5:51 am
Can't test it, but that's SO easy! Way to go, Peter... can't wait to get my hands on 2k5!
--Jeff Moden
Change is inevitable... Change for the better is not.
May 31, 2007 at 5:44 am
Haven't tested it but learned a long time ago never to mix aggragation and formatting in a single select...
SELECT d.Cases,d.Status
FROM
(
SELECT
count(r.status_id) As...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 31, 2007 at 5:23 am
Peter,
Now you know why I asked...
was pretty sure the Order By wouldn't do it...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 31, 2007 at 5:18 am
Heh... that's funny... but I get what Peter is suggesting with that simple query... pass the data to the client box and let the client box work on the solution. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 31, 2007 at 5:13 am
Will that put it in the order the OP requested?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2007 at 11:15 pm
Chris,
Turn that SELECT into a CTE instead of using a table variable...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2007 at 11:07 pm
Heh... I love it, Serqiy... thanks for the great laugh ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2007 at 8:23 pm
| Anther motivation for the addition of a PK is this. MSSM won't update or delete a row through the... |
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2007 at 8:15 pm
Dang... I still don't have access to SQL Server 2005 ... I love the CTE's that use that wonderful Rownumber Over Partition...
Antonio... can you tell us how long that took...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2007 at 8:06 pm
I did read that post... pretty well thought out and glad to be part of those thoughts. You covered a good number of the points that I was trying to...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2007 at 8:03 pm
Heh... wise old fellow once said "To measure something is to change its state." No exception with SQL... sometimes, ya just gotta bite the bullet to find out what's going...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2007 at 7:49 pm
Heh... I'm all for that especially with present company ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2007 at 7:46 pm
What did you end up with, David?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2007 at 7:42 pm
Viewing 15 posts - 56,266 through 56,280 (of 59,070 total)