Home Forums SQL Server 2008 SQL Server Newbies Inserting Multiple Records Using While Loop RE: Inserting Multiple Records Using While Loop
cdub11532
Old Hand
Points: 311
More actions
January 17, 2013 at 4:03 am
#1578217
Thanks for the reply. I know what the error means. I'm trying to figure out why when performing the loop it keeps putting in the same records multiple times. That's why I added the primary key to the temp table.