Forum Replies Created

Viewing 15 posts - 31 through 45 (of 71 total)

  • RE: alternative of UDF

    I AM GETTING ERROR LIKE Windowed functions cannot be used in the context of another windowed function or aggregate.

    WHEN I AM USING THIS

    SUM((PMT/ (sum(SUM(ISNULL(PMT,0)))over() ) * VALUE))OVER()...

  • RE: alternative of UDF

    there are so many sum function in my select statement,if i do grouping sets ,it will apply to all funcion,i just want for particular function

  • RE: alternative of UDF

    i have to use that grand total in formula and then i need to show result

  • RE: alternative of UDF

    coz its joining multiple views and then it comes as a grandtotal

  • RE: alternative of UDF

    i need to do in sp only

  • RE: total of sum

    thank you everybody ,i got my solution ,

    but just one prob ,coz of to do total i ignore --having SUM(NULLIF(BOOK,0 )) is not null,what is the alternative of using...

  • RE: total of sum

    nobody understand my prob here,i past my query also, the thing is in my query i need to calculate WAL,

    that is only value i need to display ,i cant ...

  • RE: total of sum

    my question is after i do proportion .again i need to do sum of all proportion and i need to display in row

    how to do that

  • RE: UDF error

    Thank you everybody for your response

  • RE: total of sum

    YA LIKE THIS,BUT CAN WE USE SUM(SUM(FIELD)) ????

  • RE: total of sum

    HI

    THE THING IS WHAT I WANT IS

    ID AMOUNT

    1 2000

    1 3000

    1 5000

    2 4500

    2 5000

    SO...

  • RE: total of sum

    the things in bold font is the only my prob,i want to do sum(sum(prin)) its not possible in sql

    i want alternative of that

  • RE: total of sum

    hi

    here is my script,the font in bold this is what i want to do

    SELECT

    v.id, ...

  • RE: total of sum

    i want to do something like this

    (sum(isnull(PRIN_PMT))/ sum(sum(prin)) * (datediff(day,'09/30/2010',vc.acct_prd)/365.00) as prin_amount

    that i need to place from view into temporary table and there are lots...

  • RE: Need to avoid table spool in view

    if you dont want to help,dont comment

Viewing 15 posts - 31 through 45 (of 71 total)