Viewing 15 posts - 91 through 105 (of 214 total)
I do have another way which is working for me (below). I just wanted to try this other way to see if works more efficient.
...
February 26, 2016 at 8:29 am
Thanks! this is what i needed.
December 10, 2015 at 10:05 pm
Great article....helps developers understand dba's better. Now we just need an article for dba's to read on how THEY should act and treat others who play in the same...
April 14, 2015 at 6:08 am
I tried this but it only gives me the first column.... what am I doing wrong?
-- START HERE
DECLARE @sql NVARCHAR(MAX)
DECLARE @TBLNAME VARCHAR(100)
DECLARE TBLS CURSOR FOR
SELECT DISTINCT [TABLE_NAME]
FROM ...
March 1, 2015 at 10:35 pm
Thanks! haven't done this in so long I couldn't remember.
February 6, 2015 at 12:13 pm
Thanks all for looking at this to help me. I have been playing, trying to figure it out as well. I came up with this query. It...
November 26, 2014 at 9:38 pm
Check the post I made with the desired results.jpg It is explained there and shows where the volume comes from.
November 26, 2014 at 4:09 pm
To be honest I don't know why that is being calculated like that. I was given these instructions and this is how the data needs to be displayed for...
November 26, 2014 at 3:21 pm
The answer to your question is that when the Running total is greater than the Volume total (60), instead of entering in the running total amount, you calculate the total...
November 26, 2014 at 1:18 pm
Sorry for this double post...i didn't realize it went to another page and thought it didn't go thru the first time.
GrassHopper (11/26/2014)
The...
November 26, 2014 at 1:12 pm
In the attachment I will explain what that means:
The volume in Cell K, I get by using this query:
Select SUM(Calc_line_net_amount) as volume,GroupID,[Include]
from [PRGX_AS_CC_SandBox_Rebates_2013].[dbo].ClaimTank
Group by GroupID, [Include]
Having...
November 26, 2014 at 1:09 pm
I am posting the desired results in a jpg. I will explain how I get to this:
At the top cell J and K, we have the Volume. It...
November 26, 2014 at 12:57 pm
I'm open to undocumented features. Glad you mentioned the issues with the "<=" because I was trying to do something with that. I'll trash that idea and wait...
November 25, 2014 at 9:09 am
Viewing 15 posts - 91 through 105 (of 214 total)