Viewing 3 posts - 1 through 3 (of 3 total)
I did something like this before, but you have to make sure and insert an identity row in your tempe table and use that as your UniqueID:
declare @counter int
declare...
March 8, 2006 at 12:19 pm
#625506
Maybe use a front-end to import all the data? Or do you need to do it on a Bulk Insert?
March 8, 2006 at 11:02 am
#625488
select * from Table1 Insert into Table2 where 1=2
OR
CREATE TABLE student2 SELECT * FROM student WHERE 1=2
March 6, 2006 at 12:24 pm
#624999