Viewing 15 posts - 3,976 through 3,990 (of 15,381 total)
Hi and welcome to the forums. It is nearly impossible for us to debug this for you but we can help guide you in figuring out the problem.
First, let's format...
August 21, 2014 at 7:29 am
bucknick (8/20/2014)
The issue from their side is they don't want to "weed" through all the other databases to find their own. So.... that is what I'm dealing with.
Ahh gotcha....
August 20, 2014 at 3:45 pm
jameslauf (8/20/2014)
with NumberedResults as
(
select ROW_NUMBER() over (Partition By actindx order by Calendar_Month) as RowNum
, *
from...
August 20, 2014 at 3:42 pm
Something along these lines.
with NumberedResults as
(
select ROW_NUMBER() over (Partition By NATURALACCT order by Calendar_Month) as RowNum
, *
from TrialBalance
)
select n2.ACTIVITYDEBIT as StartingBalance, n1.*
from NumberedResults n1
left join NumberedResults n2 on n2.RowNum...
August 20, 2014 at 3:22 pm
jameslauf (8/20/2014)
August 20, 2014 at 3:14 pm
Create a cte that includes ROW_NUMBER. I don't know what column(s) make your order. Then you select from the cte, join to the cte on rownumber = rownumber + 1...
August 20, 2014 at 2:57 pm
So everything is ok now or not? Do you still need help?
August 20, 2014 at 2:53 pm
suriaho (8/20/2014)
Thanks For the reply. Basically i need to put the result of my first post into a temp table so i can use for my calculations.
This is not...
August 20, 2014 at 2:51 pm
bucknick (8/20/2014)
August 20, 2014 at 2:50 pm
Hi and welcome to the forums. I don't understand what you mean about putting your variables in a temp table. I don't see a temp table declared, nor is there...
August 20, 2014 at 1:32 pm
bucknick (8/20/2014)
August 20, 2014 at 1:17 pm
cbrammer1219 (8/20/2014)
Case
when field = 'value' then...
August 20, 2014 at 1:16 pm
RantaSanta (8/20/2014)
August 20, 2014 at 1:09 pm
Brandie Tarvin (8/20/2014)
Ed Wagner (8/20/2014)
BugSnafu
software
August 20, 2014 at 11:52 am
Ed Wagner (8/20/2014)
Sean Lange (8/20/2014)
Ed Wagner (8/20/2014)
Sean Lange (8/20/2014)
August 20, 2014 at 10:55 am
Viewing 15 posts - 3,976 through 3,990 (of 15,381 total)