Viewing 15 posts - 4,171 through 4,185 (of 5,590 total)
The Dixie Flatline (5/17/2010)
May 17, 2010 at 2:31 pm
Paul White NZ (5/15/2010)
My normal optimisation trick for triangular joins will not work here.
[CuriousMode]
Care to share this trick with us? Might be able to learn something new...
[/CuriousMode]
oh wait... is it...
May 16, 2010 at 9:57 am
LOL! I should have known Paul would show a CROSS APPLY.
I HAVE to start thinking... can this be done with a CROSS APPLY? I just don't consider it.
I also...
May 15, 2010 at 6:57 am
Instead of passing all those dates to the database to be added in one at a time, why don't you make a stored procedure and pass just the starting and...
May 15, 2010 at 6:50 am
lmu92 (5/14/2010)
May 14, 2010 at 11:01 pm
krenshau (5/14/2010)
May 14, 2010 at 10:45 pm
Jeff Moden (5/14/2010)
You've already gotten at least one "wrong" answer for your question. Do you know why? Read the article at the following URL to find out...http://www.sqlservercentral.com/articles/Best+Practices/61537/
Since you're...
May 14, 2010 at 10:08 pm
elutin (5/14/2010)
SELECT *
FROM (SELECT ROW_NUMBER() OVER (PARTITION BY PropID
ORDER BY LatestApptDate desc ) AS PARowNumber
,PrevApptID
...
May 14, 2010 at 10:04 pm
I like Manu's suggestion.
Doing something like this, deleting large # of records without affecting up-time or users, is one of the few things that are best done in a loop,...
May 14, 2010 at 6:50 pm
GilaMonster (5/14/2010)
I'm feeling just a little bit sarcastic this friday night...http://www.sqlservercentral.com/Forums/Topic922329-146-1.aspx
I think it was just right, Gail!
May 14, 2010 at 3:32 pm
Here's two methods to accomplish this:
-- See how you start off by actually creating a table
-- and then inserting the data into it? Doing this really
-- makes things a...
May 14, 2010 at 3:29 pm
Stefan Krzywicki (5/14/2010)
Maybe if there were another page that lists more of the...
May 14, 2010 at 2:31 pm
May 14, 2010 at 2:02 pm
Viewing 15 posts - 4,171 through 4,185 (of 5,590 total)