Viewing 11 posts - 1 through 11 (of 11 total)
drew.allen (4/24/2012)
WITH CTE AS (
SELECT DateValue, [Value], ROW_NUMBER() OVER( PARTITION BY DateValue, [Value] ORDER BY (SELECT 1) ) AS rn
FROM #tableOne
EXCEPT
SELECT DateValue, [Value], ROW_NUMBER()...
April 24, 2012 at 1:04 pm
Nice, works good. Thanks! I learned a lot :Wow:
April 24, 2012 at 12:37 pm
Almost SSCrazy ,
I have tweaked your code a bit and this is the result:
--===== table one
CREATE TABLE #tableOne
( ...
April 24, 2012 at 11:17 am
You need to explain your "match" and "no match" rules!
Are the match between data in tableOne and tableTwo is by DateValue only? By DateValue and Value?
By DateValue, Value and number...
April 24, 2012 at 10:25 am
If i try your query I don't get any records?
April 24, 2012 at 6:49 am
just hypothetical representation of text
April 24, 2012 at 6:47 am
hey guys,
sorry for the delay, But here is the code 😎
--===== table one
CREATE TABLE #tableOne
( ...
April 24, 2012 at 4:59 am
Ok guys,
Thank you. It's clear. I'll try to be more specific. I am a newbie you know :blush:
By the way what does DDL stand for? what does it mean?
Tommorow I'll...
April 17, 2012 at 2:37 pm
Please guys
Just help me out here with an example query or maybe it is not possible what I am asking?
Mo,:Whistling:
April 17, 2012 at 1:09 pm
Hi,
thanks for your fast reply.
The thing I am trying to filter out are the first 2 rows from table one. Because the first two rows are in table two they...
April 17, 2012 at 12:51 pm
Viewing 11 posts - 1 through 11 (of 11 total)