Here is one way to do what you want. It takes advantage of the power of the IDENTITY column without requiring one on your permanent table. You'll need to modify the CREATE TABLE statement for your data types.[ol]Create Table #t (Col_PrimaryKey int identity (1,1), col_1 varchar(40), col_2 varchar(40))
Insert Into #t Select Col_PrimaryKey, col_1, col_2 From TblSource
Insert TblTarget Select * From #t
Drop table #t[/ol] Terry
Please review faq183-874.
"The greatest obstacle to discovery is not ignorance -- it is the illusion of knowledge." - Daniel J Boorstin