Viewing 12 posts - 1 through 12 (of 12 total)
Hope this helps.
One advice (i know people don't like advices, but i will have to tell it out :(), Please do not use a code in LIVE environment if u...
January 25, 2011 at 6:29 am
Actually ColdCoffee, I am trying to get my head around it;
If you can explain I would really appreciate it - thanx, Andy
January 24, 2011 at 12:04 pm
Fantastic!
Thanks very much ColdCoffee
It is already working in the live environment 🙂
January 24, 2011 at 7:53 am
Lowell (1/23/2011)
so correct me if i'm wrong, but you might want a sampling, like a random top 3 per group, right?
No that is not correct.
There are any number of "groups"...
January 24, 2011 at 2:20 am
My app is working perfectly fine using Stefan_G's second production (it seems to be the fastest apart from Paul's SQLCLR masterpiece)
Just a question based on this thread and the reason...
April 27, 2010 at 9:53 am
Yes thanks for that simple explanation.
I was actually stumped because the csi's (comma seperated integers) are in another table column and I was confused as to how to make that...
April 27, 2010 at 9:43 am
Are you sure that is correct? I get a different result from your original method.
And it takes a lot longer than 29 secs - more like 79 on my system!
April 27, 2010 at 5:29 am
Well, here is an answer and pretty slick too 🙂
select number, c.proname from #table_s a
cross apply
iter_intlist_to_table(a.strInts) as b
inner join #table_p c
on b.number = c.idp
order by a.ids
with thanks to hanbingl ...
April 26, 2010 at 10:26 am
Thank you all very much.
I have implemented Pauls answer into my live code and it is working great!
Cheers
Andy
April 8, 2010 at 7:06 am
Well thank you for your prompt replies.
I was working on working out how to do as Jeff Moden says
Then I looked up and bingo the answer is there, twice!
I have...
April 8, 2010 at 6:51 am
Viewing 12 posts - 1 through 12 (of 12 total)