Forum Replies Created

Viewing 15 posts - 16 through 30 (of 66 total)

  • RE: calculating average age

    Great!

    Thanks again (for getting carried away)!

     

  • RE: calculating average age

    Thanks Andras!

    why do I have the feeling that it should be

    FLOOR(AVG(...

    and not

    AVG(FLOOR(...

    ?

    again... just a feeling

     

  • RE: Update trigger - update a field in the same row

    Ok, deleted and inserted, not updated

    That worked well

    Thanks for the help!

  • RE: using an index withe ">"

    Great help!

    Tx!

  • RE: using an index withe ">"

     

    I am not really expert in SQL, but i did that, i get numbers:

    Index seek cost

    RID lookup cost

    so I guess if these are high, then it' not good?

    and of course...

  • RE: count inside case?!

    mmmm not sure... it's a pre-written application, and I can't change much in the core code.

    Can you give an example of what it would be?

    tx!

  • RE: count inside case?!

    it's a rich client application

  • RE: count inside case?!

    Actually, I think i complicated the question

    I would like a count of the articles, grouped by article, no matter the store... but if i...

  • RE: count inside case?!

    this could be good, but it will give me results under the following format:

                  st1count  st2count   st3count

    article1        10             0            0

    article2         0              20          0

    article3         0              0          ...

  • RE: creating a view

    ok, here it is:

    table:

    john , SMS, 55533366

    john , email, j@j.com

    mike , SMS, 22663355

    mary , email, m@m.com

    the output would be in the view that has 3 columns: id, SMS,...

  • RE: creating a view

    and what if i know how many contacts type i have? actually right no i only have 2...

  • RE: AND and OR

    AHA! BUT...

    what if i dunno the exact number of products to be tested?

    i.e in may interface, the user can enter 1 to 3...

  • RE: AND and OR

    well clientsproducts.product in ('xxx','yyy','zzz')  means that the client should have any of the 3 products, while I want him to have the 3 of them, i.e I want to find 3...

  • RE: AND and OR

    i will rephrase with and example

    i need to search for all clients who have a given list of products

    so i'm searching in my...

  • RE: create record inside a loop

    ok got it

    loads of thanks!

Viewing 15 posts - 16 through 30 (of 66 total)