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 |
masond
Constraint Violating Yak Guru
447 Posts |
Posted - 2013-08-13 : 05:28:31
|
Aim – Append the results from #tablecut on to table #DeletedupesTable name #tablecutColumns within #tablecutRecords = 186FdmsaccountnoSeller_Codemcc_codechain_chain_noDba_namese_numberpcapost_coderolling12SegmentationTable name# #DeletedupesColumns within # DeletedupesRecords = 11195FdmsaccountnoSeller_Codemcc_codechain_chain_noDba_namese_numberpcapost_coderolling12SegmentationEnd result 11389 records Put into a table called #Results Would appreciate any help available |
|
bandi
Master Smack Fu Yak Hacker
2242 Posts |
Posted - 2013-08-13 : 06:36:59
|
[code]SELECT *INTO #ResultsFROM (SELECT * FROM #tablecut UNION ALL SELECT * FROM #Deletedupes ) T[/code]--Chandu |
|
|
|
|
|