Viewing 15 posts - 31 through 45 (of 70 total)
Okay, well here's everything I guess is pertinent for full troubleshooting of this..
View Definition
CREATE VIEW [dbo].[IREP_V_POSITION_STANDARDS] AS
SELECT SS.SERVICE_STANDARD, PS.SERVICE_STANDARD AS POSITION_SERVICE_STANDARD,
WFI.WS_INSTANCE_ID, WFI.WF_STOP, POS.JOB_POSITION, TTYP_TITLE,
WFI.WF_EFF_DATE, WFI.POLICY_NUMBER, DGRP_TITLE,DGRP.DGRP_ID,
WFI.WF_START,WS_DAYS_TOTAL,PD_DAYS_TOTAL,PD_COUNT,STATEDESC
FROM
IREP_T_WF_INFO...
March 5, 2009 at 11:16 am
As mentioned later in my post, it's a view.
I've read the Forum Etiquette but not sure how that applies to my question ..... unless you just always paste that into...
March 5, 2009 at 9:38 am
Okay.
Was able to get acceptable times on the original query I was working with but now I'm working on a different one and am running into the same problem.
Following y'all's...
March 5, 2009 at 8:46 am
Modified * to column list and performance of results does not increase. Not really sure why you demanded that for what we are discussing.
My contention is simply that Distinct...
February 20, 2009 at 1:51 pm
Following what Lynn is saying ...... I believe you all are looking at this solely from the role of a DBA who only cares about the processing time at a...
February 20, 2009 at 1:14 pm
forgive me for being blunt by why would anyone do a distinct that is going to return the same number of rows as the full SELECT?
The whole point (at least...
February 20, 2009 at 1:10 pm
GilaMonster (2/20/2009)
Post a reproduction please? It'll be the first case I've ever seen of that.
Adding distinct to a query adds work. It requires that SQL sort or hash the resultset...
February 20, 2009 at 12:57 pm
Grant Fritchey (2/20/2009)
Really? DISTINCT has consistently improved your performance? That's incredibly unique. Search through old posts. It's got a well-deserved bad reputation.
I'm just saying what I see the execution plan...
February 20, 2009 at 12:25 pm
Grant Fritchey (2/20/2009)
Then that's good luck on your part. I've seen DISTINCT simply destroy performance. If you look at your two execution plans, you can see it at work. It's...
February 20, 2009 at 12:15 pm
To address the concerns on why I'm using a join .....
The view is a source to a report. The application works in this manner....
1. User selects report type
2....
February 20, 2009 at 12:00 pm
I also ended up creating a view to be able to see the DF constraints the same way I can see any other constraint via Information Schema views.
It doesn't have...
November 17, 2008 at 6:48 am
It appears to be not handling foreign keys properly and scripting them up as Primary keys.
August 22, 2008 at 7:26 am
For the X table, AGENCY_LICENSE_ID and LICENSE_ID work like a 2 column key and one of them will always be not null. The table is only ever populated via...
June 20, 2008 at 6:02 am
Are the names of your tables actually table1, table2, table3 and table4?
If that is the case, and your select statement is set up correctly, then it should work.
To test the...
June 20, 2008 at 5:44 am
INSERT INTO TABLE3 (col1, col2, col3, col4, col5)
SELECT T1.col1, T1.col2, T2.col1, T2.col2, T2.col3 FROM TABLE1, TABLE2
Put something like that into a SQL task and it should...
June 18, 2008 at 9:53 am
Viewing 15 posts - 31 through 45 (of 70 total)