Viewing 15 posts - 76 through 90 (of 95 total)
This looks great. Thank you so much. So you are basically everytime you go around checking the accumulator table for the group that has the smallest size and...
April 11, 2012 at 9:24 am
So this is what I came up with. It looks a bit clunky but it does seem to work. I am curious to see what yours looks like. ...
April 10, 2012 at 5:56 pm
Sorry About that. I appreciate your help. I have been playing around with this and am getting closer. But I would definitely like to see what you...
April 10, 2012 at 3:57 pm
That is the plan.
April 10, 2012 at 3:48 pm
This gets me a bit closer.
SELECT NTILE(10) OVER (PARTITION BY groupmb ORDER BY database_id) AS groupid, database_id, NAME,sub.DataMB, sub.groupmb
FROM (
Select database_id, name, dbi.DataMB,
CASE WHEN dbi.DataMB <1000 THEN 1
WHEN dbi.DataMB...
April 10, 2012 at 10:12 am
Thank You. So now looking at the results more clearly, this does give me closer to what I am looking for the only thing is when you have more...
April 10, 2012 at 10:05 am
I have not ever used service broker. I'll have to do some reading on that approach. Thanks for the input.
April 10, 2012 at 9:22 am
Thank you. We are using Ola's scripts. We do not use replication. The multiple databases are per customer databases with one shared database.
The one thing that...
April 9, 2012 at 4:41 pm
Ok. So you think I am headed in the right direction. Just wanted to make sure I wasn't thinking crazy.
thanks
April 9, 2012 at 4:15 pm
thank you. the @ sign was the other piece I was missing.
May 31, 2011 at 5:54 pm
I was able to get it to work using the cross apply method
March 4, 2011 at 10:39 am
So I am obviously not understanding something, I tried to apply the same logic to this query and I am getting null back for the OfferId. What am I...
March 4, 2011 at 9:59 am
I'm assuming the OP is me but what does it stand for? And I hadn't checked the actual data yet only the counts.
March 3, 2011 at 2:59 pm
Thank you. I actually like the version not using cross apply.
March 3, 2011 at 2:37 pm
Viewing 15 posts - 76 through 90 (of 95 total)