Viewing 5 posts - 1 through 5 (of 5 total)
sgmunson (12/12/2012)
declare @a table (a int null, b int null)
December 12, 2012 at 2:02 pm
sgmunson (12/12/2012)
select cr.sup, cr.part, cr.loc, cr.countrank, cr.days,
NTILE(days) OVER (PARTITION by cr.days, LOC order by countrank desc) as partitionday
from cc_v_countrank cr
and if the results aren't quite right, try reversing...
December 12, 2012 at 9:18 am
sgmunson (12/12/2012)
select cr.sup, cr.part, cr.loc, cr.countrank,...
December 12, 2012 at 9:01 am
sgmunson (12/12/2012)
December 12, 2012 at 8:53 am
I should add that Im not stuck on openrow set but I cant seem to pass login credentials to openquery when using a linked server and thats why im trying...
July 19, 2010 at 9:59 am
Viewing 5 posts - 1 through 5 (of 5 total)