| | |
How to copy distinct records from one table to another using SQL 2005
Please support our MS SQL advertiser: Intel Parallel Studio Home
![]() |
Use differential Backup...
or you can use insert select
like
or you can use insert select
like
MS SQL Syntax (Toggle Plain Text)
INSERT INTO table1 VALUES (SELECT DISTINCT a,b,c.. FROM table2)
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
![]() |
Similar Threads
- how to delete duplicate record in a table by using SQL query (MS SQL)
- SQL 2005 upgrade questions (MS SQL)
- program adds 2 identical records to table (Visual Basic 4 / 5 / 6)
- Hurry! Cheap Private Label ASP.net 2/ColdFusion MX/SQL 2005 Windows Reseller Hosting! (Web Hosting Deals)
- Hurry! Cheap Private Label ASP.net 2/ColdFusion MX/SQL 2005 Windows Reseller Hosting! (Web Hosting Deals)
- sql 2005 to sql 2000 (MS SQL)
- How can I select records randomly from MS SQL Server Table? (MS SQL)
- Cheap ColdFusion/ASP.net 2/SQL 2005 Shared and Reseller Hosting (Web Hosting Deals)
- Print 5 records per table row (see script) (Perl)
Other Threads in the MS SQL Forum
- Previous Thread: How to Insert, Update and Delete objects in Active Directory
- Next Thread: SQL Server newbi... how to get started??
| Thread Tools | Search this Thread |
Tag cloud for MS SQL
"last autogrowth business connectingtodatabaseinuse count cursor data database dateadd datepart day" dbsize deadlock delete_trigger getdate highperformancecomputing hpc hpcserver2008 ibm iis loop maximum microsoft ms mssql multiple multithreading news number permission query reporting result server services sets source sql sqlserver sqlserver2005 supercomputing tables uniqueid update view weekday






