Viewing 15 posts - 616 through 630 (of 8,416 total)
tarr94 (5/21/2012)
Not efficient, but shouldn't it still work?
Not efficient? Converting every date in every row to 8000 bytes of CHAR formatted as 'mon dd yyyy hh:miAM/PM' and expecting it...
May 21, 2012 at 2:15 pm
tarr94 (5/21/2012)
SELECT *
FROM MyView
where ({fn convert(MyDateField,...
May 21, 2012 at 1:10 pm
Steve Jones - SSC Editor (5/21/2012)
Seems like every event I've been to lately is going to 60 minute sessions, which are tough. I like 75 better.
Yes. SQLSaturday Wellington was...
May 21, 2012 at 12:21 pm
Elizabeth.Block (5/21/2012)
I've fixed that issue and now that query is running fine again.
Regarding the execution plan you posted (which I am going to assume is an example of slow running):
As...
May 21, 2012 at 12:12 pm
HowardW (5/21/2012)
May 21, 2012 at 9:16 am
Assuming the table is a heap, you need ALTER TABLE REBUILD. SQL Server does not properly clean up removed columns from heaps, even with DBCC CLEANTABLE and ALTER INDEX...
May 21, 2012 at 2:36 am
Gullimeel (5/21/2012)
I think it worked for him...I asked him to post the performance matrxi for his table.
Ah, I wish it had been clearer that the partitions were ordered by date.
Of...
May 21, 2012 at 12:48 am
dwain.c (5/21/2012)
SQL Kiwi (5/21/2012)
dwain.c (5/20/2012)
This has a comparable execution plan to Paul's submission (uses his setup data)Different semantics (see HowardW's two observations earlier).
Very cryptic, but I get your point that...
May 21, 2012 at 12:35 am
Gullimeel (5/20/2012)
May 21, 2012 at 12:08 am
dwain.c (5/20/2012)
This has a comparable execution plan to Paul's submission (uses his setup data)
Different semantics (see HowardW's two observations earlier).
May 21, 2012 at 12:07 am
CREATE TABLE table2
(
key1 char(3),
[date] ...
May 20, 2012 at 11:49 pm
Rachel Lee-244397 (5/20/2012)
Thanks for your pleasant reply.
If you think that was 'pleasant', you're lucky Joe Celko didn't see your post :laugh:
The fact that the database engine was completly rewritten does...
May 20, 2012 at 10:49 pm
c2k (5/20/2012)
May 20, 2012 at 10:35 pm
Jeff Moden (5/20/2012)
May 20, 2012 at 10:00 pm
Elizabeth.Block (5/17/2012)
I do have the actual execution plan for the monster query so I will start going through that.
This is where I would start, comparing actual plans for a 2-second...
May 20, 2012 at 11:49 am
Viewing 15 posts - 616 through 630 (of 8,416 total)