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 |
|
boggyboy
Yak Posting Veteran
57 Posts |
Posted - 2011-10-13 : 22:00:21
|
| I want to insert rows into Table A where there are non-matching values in table BTable AID, Cost, RowID1, 100, 12, 122, 23, 88, 3Table BID, Cost RowID1, 100, 12, 150, 23, 88, 3After Query runs I end up with the following in Table A1, 100, 12, 122, 23, 88, 32, 150, 4Nick W Saban |
|
|
boggyboy
Yak Posting Veteran
57 Posts |
Posted - 2011-10-13 : 22:55:20
|
| Answering my own questionInsert into A(ID,Cost)(select * from B except select * from A)Nick W Saban |
 |
|
|
|
|
|
|
|