Viewing 15 posts - 76 through 90 (of 105 total)
account trans date amount
============================
E909 cr 01apr11 8000
E303 ...
July 25, 2012 at 1:58 am
if suppose em calculting 'o1-apr-2011' and '30-apr-2011'..... wanna the data also perivous year of same month.... and display month column separately
July 25, 2012 at 12:14 am
in that same procedure i want to the column of
prev_colsing_bal =(
case...
July 24, 2012 at 1:19 am
finally got answer of dis question:
THE QUERY:
************
ALTER procedure TEST_POSTINGS
(
@x datetime,
@y datetime
)
as
begin
--set @x='01-apr-2011'
--set @y='30-apr-2011'
select
locn,
account_no,
Opening_bal=
sum(
case
when...
July 23, 2012 at 5:29 am
expecting output is sample.... dnt consider.... to see opening bal oly.....letter "A" in accuntno=debit-credit ,
...
July 20, 2012 at 4:44 am
outlook of the output structer sample,:-)
July 20, 2012 at 4:30 am
my query:
select account_no,fs_locn_code,
sum(case when transc ='Cr' then amountelse 0 end) "Credit",
sum(case when transc ='Dr' then amountelse 0 end) "Debit" ,
SUM(CASE WHEN fs_tran_date <'31-mar-2011'and left(account_no,1) in ('A','E') and...
July 20, 2012 at 4:18 am
its very urgent any one can help me .....
July 20, 2012 at 3:54 am
in my table ve data from 2008 to 2012..... now ve to calculate the "cr-dr" before appearing 01 apr 2011,
July 20, 2012 at 1:11 am
i'm wrote query for opening bal ol....
select account_no,locn_code,
sum(case when transc ='Cr' then amount else 0 end) "Credit",
sum(case when transc ='Dr' then amount else 0 end) "Debit"...
July 20, 2012 at 12:34 am
Viewing 15 posts - 76 through 90 (of 105 total)