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

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

U A
Starting Member

India
11 Posts

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

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.


U A

webfred
Flowing Fount of Yak Knowledge

Germany
8765 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  
 New 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.05 seconds. Powered By: Snitz Forums 2000