Viewing 15 posts - 1 through 15 (of 29 total)
T_Dot_Geek
This solution also works as well!
Thanks again for looking into this for me!.
Cheeeeers 😎
November 1, 2012 at 3:38 am
micky,
This works perfect!
Thankyou for taking the time to help me out 😀
November 1, 2012 at 3:37 am
T_Dot_Geek (10/31/2012)
In my previous reply I designed queryin my SQL Server and copy paste here. It is looking flat text in my reply....
October 31, 2012 at 11:41 am
Thanks for the reply....
Hmmm not quite what I was after.
This places the Region Code under the Original, RiverLaKes_WWFL and RiverLakesSev123_WWFL and gives the WholeACNet in one column.
Ideally Region_Code would be...
October 31, 2012 at 11:39 am
Sample Data
CREATE TABLE Regions_Pivot_Test
(
Fail varchar(3),
...
December 16, 2011 at 3:13 am
The Regions will remain static!
Just going to work on uploading the sample data...
December 16, 2011 at 2:51 am
I will get on to that!
If you check out some of my other posts I normally asks for hints and tips and an explanation of whats going on in the...
December 15, 2011 at 10:46 am
The current query to produce those results is in 3 steps that takes an individual location, groups it into an account and then a region. it scores each location and...
December 15, 2011 at 10:29 am
Will take a look!
Is that the most efficient way to go about it or is it worth revising the query?!
Thanks Again!
December 15, 2011 at 10:14 am
Option Number 1, it made more sense in my head!
November 25, 2011 at 10:19 am
Thats fantastic,
I have already used this method on 2 other queries and it works a treat, not to mention nice and fast!
I cant thankyou enough for your help today.
Have a...
November 25, 2011 at 9:48 am
Excellent....it works!
Now I don't just want to take the code and go on my way. When I first attempted to do this I used a 'Where' clause to find out...
November 25, 2011 at 9:00 am
Okay I hope I followed the rules on this!
Create Table Derived_Help
(
ACCGRPNUM varchar(20),
ACCGRPNAME varchar(40),
Region ...
November 25, 2011 at 5:05 am
That didnt do it...damn it!
The error I am guessing is here
SUM (a.Pass/(COUNT (ACCGRPNUM))) as RATE
using the ACCGRPNUM to get the total number of locations by Region kicks out...
November 25, 2011 at 3:49 am
All Done,
Stupid of me to sum and group again as it had already been done, results now set to decimals and I have got the data set I need.
What a...
November 8, 2011 at 6:18 am
Viewing 15 posts - 1 through 15 (of 29 total)