Viewing 15 posts - 511 through 525 (of 5,843 total)
Indianrock (12/16/2016)
------LYNN PETTIS CHANGE
-- 92 rows in QA in 03:29 first run 10...
December 16, 2016 at 3:21 pm
Lynn Pettis (12/14/2016)
TheSQLGuru (12/14/2016)
December 15, 2016 at 6:15 am
You may have missed it Lynn, but this is an ORM app. I doubt very much it is going to be reworking that query much at all, almost certainly not...
December 14, 2016 at 4:16 pm
Lynn Pettis (12/14/2016)
junk.mail291276 (12/14/2016)
I have a stored procedure that takes a project ID as a parameter and returns a list of results on that project. Now what I'd like to...
December 14, 2016 at 3:23 pm
If you go henriksen's route, a potentially nice improvement would be to substring the field used in this JOIN as you populate table #b:
ON a.dim_1 = SUBSTRING( b.dim_value, 1, 2...
December 14, 2016 at 12:20 pm
Easy way to get back a bunch of GBs of free space, eh??
Now, you did NOT shrink the database, right?!?! :hehe:
December 14, 2016 at 8:40 am
Indeed there will need to be something (which is definitely not shown) that provides guaranteed order of IDs 1, 2 and 3 as you have it.
Also, you REALLY should...
December 14, 2016 at 8:38 am
Oh, there is WAY more wrong with this query (from an optimization standpoint) than just a lot of substrings. At least for those you can replace them with LIKE for...
December 14, 2016 at 8:33 am
patrickmcginnis59 10839 (12/14/2016)
Indianrock (12/13/2016)
hijacked thread 🙂we are altering the thread. pray we do not alter it any further.
HAH!! :hehe:
December 14, 2016 at 8:17 am
You could add something like this to your WHERE clause:
AND EXISTS (SELECT * FROM ... WHERE ... "they shopped in Men's")
AND EXISTS (SELECT * FROM ... WHERE ... "they shopped...
December 14, 2016 at 8:16 am
patrickmcginnis59 10839 (12/13/2016)
TheSQLGuru (12/13/2016)
December 13, 2016 at 11:54 am
patrickmcginnis59 10839 (12/13/2016)
Alan.B (12/9/2016)
Indianrock (12/9/2016)
December 13, 2016 at 10:12 am
Carolyn Richardson (12/13/2016)
December 13, 2016 at 10:04 am
PLEASE understand that ORDER BY is a HEAVY TEMP OPERATION and should ABSOLUTELY be avoided unless there is a defined requirement for the particular order (AND it isn't small set...
December 13, 2016 at 9:59 am
JarJar (12/13/2016)
no clustered index. it's a vendor application. would putting a clustered index on it fix this usused space issue?thanks again.
Yep, but it...
December 13, 2016 at 9:51 am
Viewing 15 posts - 511 through 525 (of 5,843 total)