Viewing 15 posts - 13,576 through 13,590 (of 18,923 total)
I never worked with RS, but I work with MS SQL server.
I can guarantee that this syntaxe will force the server to scan the whole table to extract the information...
September 2, 2005 at 9:37 am
Seriously, you only have 5-6 seeks in there... when you should have 100% seeks. Is there any way this query can work with inner joins?
September 2, 2005 at 9:32 am
month(DateField) = @Param1 = TABLE SCAN convert to between at least.
September 2, 2005 at 9:28 am
The design seems wrong. If you have multiple owners for measures, then the owner should ONLY BE in the second table.
And for the love of [insert your god here]....
September 2, 2005 at 9:23 am
Too many views can cause problems on the long run.. and that's a very long run
.
September 2, 2005 at 9:20 am
This is what I meant but since you are already doing it...
(left outer join (select ORDER_ID, DIRECTORY_ID, ID from t_MTSTM_STOP where ACTIVE = 1 and STOPTYPE_ID = 8583) SHIPSTOPTABLE on...
September 2, 2005 at 9:18 am
Run the profiler while you hit all the possible buttons and you'll see the queries being fired at the server. Don't forget to filter the queries to only yourself.
September 2, 2005 at 9:06 am
Actually it should always fail... The last where condition will always fail is the left join returns nothing on the outer table. (substring(null) = null).
Put that where condition in the...
September 2, 2005 at 9:05 am
"DATEFORMAT affects the way the input is read, if you want to change the ouput, you must convert to varchar and use one of the styles listed in the books...
September 2, 2005 at 9:02 am
Move to derived tables/joins.
Can we see the view definition?
September 2, 2005 at 8:46 am
It takes the WHOLE PK to trace back to the correct row and do the update. Access works in the same way and I don't see how sql server...
September 2, 2005 at 8:44 am
The resident genious ubiquitous spook welcomes you
.
September 2, 2005 at 8:43 am
Is part of... what are the other keys? Are they also in the view??
September 2, 2005 at 8:39 am
Viewing 15 posts - 13,576 through 13,590 (of 18,923 total)