Viewing 15 posts - 31 through 45 (of 93 total)
frdrckmitchell7 (9/25/2013)
I've built the (part of) query like this:
(IM.ItemCode BETWEEN '999999' AND 'CL00000'
OR IM.ItemCode NOT LIKE '001920'
OR IM.ItemCode NOT LIKE '001921'
OR IM.ItemCode...
September 26, 2013 at 6:06 am
Thanks so far.
Ed: I agree with you 1000% about the layering of views. Got truly spaghetti sql to deal with here. I'm working on convincing the powers that...
September 13, 2013 at 9:03 am
Grant, thanks for reminding me. The query plans are the same. The only differences between the two plan XMLs are:
<QueryPlan CachedPlanSize="1352" CompileTime="12244" CompileCPU="12238" CompileMemory="111952">
<QueryPlan CachedPlanSize="1352" CompileTime="12387" CompileCPU="12364" CompileMemory="111952">
Yes,...
September 5, 2013 at 7:14 am
Ed Wagner (9/4/2013)
September 4, 2013 at 1:58 pm
Sean Lange (9/4/2013)
Start with execution plans. Are they the same?
Unfortunately, the named user does not have permission for SHOWPLAN. I won't be able to change that until next week....
September 4, 2013 at 1:25 pm
Andy,
I agree with you on the "scoping" of variables. Has anybody EVER come up with a good use case for the scope of variables? I think that MS...
June 19, 2013 at 7:21 am
That was easy. Grrrr. I was doing all that work not knowing backup compression was available in Standard edition.
Thanks.
July 20, 2012 at 8:16 am
I thought you needed Enterprise edition to get backup compression. We have Standard.
July 20, 2012 at 7:35 am
There is a Sql Server Agent service, but not SQL Server Integration Services. How many levels of indirection are there in this product?
July 20, 2012 at 6:15 am
Of course. Duh! I've gotten dull due to heat or old age (or both).
Thanks.
July 12, 2012 at 10:50 am
Here's some code I wrote to get the first and last day of the previous 12 months. You can modify it for your uses to get week ending dates.
;WITH
t1...
July 5, 2012 at 1:09 pm
dwain.c (6/25/2012)
SELECT x.MyId, MIN(MinAmt)
FROM #test
CROSS APPLY (
VALUES (MyID, MV1), (MyID, MV2), (MyID, MV3), (MyID, MV4)) x(MyID, MinAmt)
WHERE MinAmt >= 150
GROUP BY x.MyID
I've run some...
June 26, 2012 at 6:25 am
I heard from a friend recently that went on an interview, and had done some research beforehand. This person jotted thoughts and questions in a notebook, took it to the...
May 29, 2012 at 7:07 am
Ok, I'm going to blame the jet lag (35 hours to get from Christchurch, NZ to Boston this weekend) on not seeing the obvious. Yes, prefixing the table name...
May 22, 2012 at 12:07 pm
Is it possible to have too many columns that depend on custom code for rendering? This report has, among other columns, 13 columns (a gauge panel, three numeric columns,...
April 23, 2012 at 8:02 am
Viewing 15 posts - 31 through 45 (of 93 total)