Forum Replies Created

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

  • RE: help for data transfer from access db

    the access db is in local lan how can i reach by internet? i can run dts package on web server but how can i find the access db?

    Can...

  • RE: Help with query to calc new field

    I've solved with the sql statement thanks for your help

    I think that it is better work with TSQL when is possible, that manipulate data on client side;  both for performance...

  • RE: Help with query to calc new field

    Hello Chris  

    below there is table and data

    the query is this  i just need to add a "%sale" fields to the results

    this field is calculate from tot_draw/unsold

    SELECT sum(draw)...

  • RE: Help with query to calc new field

    thanks for your suggest

    now all rows are selectd but i still have the divide by zero error

    287 row(s) affected)

    Server: Msg 8134, Level 16, State 1, Line 2

    Divide by...

  • RE: Help with query to calc new field

    hello thanks for your fast reply

    i've added the row

    draw / sum(returns + short + notdeliver+damaged) AS '%sale'

    but i get this error

    Server: Msg 8134, Level 16, State...

  • RE: help to transform in dynamic sql

    thanks a lot

    useful link

  • RE: help to modify a query

    I modify the query and put CASE WHEN condition for periods i need

    SELECT x.iss_no, x.pro_cod, x.pro_name, x.distrib, x.dis_dat, sum(ret_qty) AS unsold,

    CASE

    WHEN DIS_DAT BETWEEN '01/05/2003' AND '05/31/2003'

    THEN X.DISTRIB else 0...

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