Hi there,
I have a table with a primary key and 200 records with the same 'facilityID'
I want to copy these 200 records, change the 'facilityID' for these 200 and append them to my table.
The table also has a primaryKey called 'facilityGoalID' so my 200 copied records will have to have this field changed as well.
What I basically want is 2 instances of the same 200 records (i.e 400 records) but each instance of 200 to have a different 'facilityID'.
Any ideas on a script I could use to achieve this!?
Thanks for the help guys,
regards,
John
I have a table with a primary key and 200 records with the same 'facilityID'
I want to copy these 200 records, change the 'facilityID' for these 200 and append them to my table.
The table also has a primaryKey called 'facilityGoalID' so my 200 copied records will have to have this field changed as well.
What I basically want is 2 instances of the same 200 records (i.e 400 records) but each instance of 200 to have a different 'facilityID'.
Any ideas on a script I could use to achieve this!?
Thanks for the help guys,
regards,
John