Viewing 8 posts - 1 through 8 (of 8 total)
Got it. Thanks
Eralper (6/21/2010)
My code responds to changes in model
If you want to respond to changes in value column please change the WHERE clause as follows
t1.value <> t2.value --t1.model...
June 22, 2010 at 12:23 am
Thanks. Got it. Basically add a column rownumber as identity.
bteraberry (6/21/2010)
declare @t_temp table (ID int, Value INT, Value2 VARCHAR(20))insert into @t_temp
select 1, 5, 'Win32' union
select 2, 5, 'Win32' union
select 3,...
June 21, 2010 at 5:07 pm
Hi, Erapler
I used your solution, but did not get what I really want, did I miss anything? Thanks
DECLARE @t TABLE(ID INT,Value INT,Model VARCHAR(50))
INSERT INTO @t
SELECT 1, 5, 'win32' UNION ALL
SELECT...
June 21, 2010 at 10:40 am
Thanks Steve.
This is what I got from abdshall@Technet, and it works:
DECLARE @t TABLE(ID INT,Value INT,Model VARCHAR(50))
INSERT INTO @t
SELECT 1, 5, 'win32' UNION ALL
SELECT 2, 5, 'win32' UNION ALL
SELECT 3,...
June 18, 2010 at 12:14 pm
Steve Jones - Editor (6/18/2010)
Be careful about gaps in the identity column,
Thanks Steve... This is exactly what I am thinking now. Let's say there's another column in the table
ID Value...
June 18, 2010 at 10:49 am
Thanks!!! This is it.
bteraberry (6/18/2010)
declare @t_temp table (ID int, Value int)insert into @t_temp
select 1, 5 union
select 2, 5 union
select 3, 7 union
select 4, 7 union
select 5, 7 union
select 6, 7...
June 18, 2010 at 10:31 am
Thanks. It doesn't work though. The ID column is an identity column...
Eugene Elutin (6/18/2010)
try:
select id
from mytable
group by id
having min(val) != max(val)
June 18, 2010 at 10:18 am
Samuel Vella (5/19/2009)
pc4ads (5/14/2009)
Hi,I am new to SSRS2008. I wanna average a measure, non-zero values only, is there an easy way to do this?
Thanks
Are you querying a Cube or a...
May 19, 2009 at 1:56 am
Viewing 8 posts - 1 through 8 (of 8 total)