Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 copy the records in the same table
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

11 Posts

Posted - 12/08/2010 :  05:11:53  Show Profile  Reply with Quote

I have a table having 20 records, the columns are:
ID (identity column), companyid,.......
, and I want to copy these 20 records and insert into this same table with
only different companyid.


Flowing Fount of Yak Knowledge

8781 Posts

Posted - 12/08/2010 :  05:37:24  Show Profile  Visit webfred's Homepage  Reply with Quote
Please give sample data and wanted result.

No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000