Viewing 9 posts - 1 through 9 (of 9 total)
Something along the lines of...
create table ##temp(
locid varchar(10), xloc int, yloc int)
insert into ##temp select 'u01', 1 , 2
insert into ##temp select 'u02', 1 , 3
insert into ##temp select 'u03',...
January 20, 2012 at 1:38 pm
Is this output being dleivered through OLAP software. If so it might be better to deal with the table formatting issue in there rather than directly from the sql.
January 20, 2012 at 12:35 pm
Hi, can you post the select statement.
January 20, 2012 at 5:24 am
Or perhaps you intended to Sum() the values from the case statement?
January 20, 2012 at 5:16 am
meelan (1/20/2012)
SELECT S_Person,Sales,(CASE WHEN Sales > 100 THEN (Sales * [Commission Per]) ELSE 0 END) AS...
January 20, 2012 at 5:15 am
"diLip" (1/19/2012)
January 20, 2012 at 5:07 am
sqlfriends (1/19/2012)
Basically I check to see which Orgnization has the most count more OrgUnitId, then I will...
January 20, 2012 at 5:01 am
meelan (1/20/2012)
January 20, 2012 at 4:54 am
Viewing 9 posts - 1 through 9 (of 9 total)