Viewing 15 posts - 31 through 45 (of 71 total)
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()...
September 20, 2011 at 1:30 pm
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
September 20, 2011 at 11:43 am
i have to use that grand total in formula and then i need to show result
September 20, 2011 at 11:34 am
coz its joining multiple views and then it comes as a grandtotal
September 20, 2011 at 11:25 am
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...
September 19, 2011 at 7:35 pm
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 ...
September 19, 2011 at 11:49 am
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
September 19, 2011 at 9:09 am
HI
THE THING IS WHAT I WANT IS
ID AMOUNT
1 2000
1 3000
1 5000
2 4500
2 5000
SO...
September 17, 2011 at 4:19 pm
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
September 17, 2011 at 12:35 pm
hi
here is my script,the font in bold this is what i want to do
SELECT
v.id, ...
September 17, 2011 at 10:35 am
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...
September 17, 2011 at 10:16 am
if you dont want to help,dont comment
August 4, 2011 at 7:51 am
Viewing 15 posts - 31 through 45 (of 71 total)