Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
gangadhara.ms
Aged Yak Warrior
549 Posts |
Posted - 2010-01-25 : 05:54:21
|
| How to find out any records in rvu_2009 table that is not in rvu_2010_target table ?? (not the other way)Thanks,Gangadhar |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
|
|
Kristen
Test
22859 Posts |
Posted - 2010-01-25 : 06:10:01
|
| [code]SELECT Col1, Col2, ...FROM rvu_2009 AS T1WHERE NOT EXISTS (SELECT * FROM rvu_2010_target AS T2 WHERE T2.SomeID = T1.SomeID)[/code] |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2010-01-25 : 08:59:35
|
quote: Originally posted by Kristen
SELECT Col1, Col2, ...FROM rvu_2009 AS T1WHERE NOT EXISTS (SELECT * FROM rvu_2010_target AS T2 WHERE T2.SomeID = T1.SomeID)
Didn't you see Peso's reply when posting?The method is specified there too MadhivananFailing to plan is Planning to fail |
 |
|
|
Kristen
Test
22859 Posts |
Posted - 2010-01-25 : 09:52:46
|
Was writing whilst Peso was posting |
 |
|
|
|
|
|