Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)

  • RE: Random ordered groups

    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...

  • RE: Random ordered groups

    Actually ColdCoffee, I am trying to get my head around it;

    If you can explain I would really appreciate it - thanx, Andy

  • RE: Random ordered groups

    Fantastic!

    Thanks very much ColdCoffee

    It is already working in the live environment 🙂

  • RE: Random ordered groups

    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"...

  • RE: Join via String of Integers

    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...

  • RE: Join via String of Integers

    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...

  • RE: Join via String of Integers

    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!

  • RE: Join via String of Integers

    Even slicker Stefan_G - Many thanks!

  • RE: Join via String of Integers

    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 ...

  • RE: Return groups in random order

    Thank you all very much.

    I have implemented Pauls answer into my live code and it is working great!

    Cheers

    Andy

  • RE: Return groups in random order

    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...

  • RE: SSMS - feature

    Not happening for me too

    Boo Hoo!¬! I WANT my point!!

Viewing 12 posts - 1 through 12 (of 12 total)