Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Back Up and Auto Increment Field

Status
Not open for further replies.

audiopro

Programmer
Apr 1, 2004
3,165
GB
I have written a backup routine in PERL which works ok except for a problem if the backup is restored.
My tables cross reference on an auto - increment field but when I create a new set of tables, the auto increment fields are reset too, therefore losing the relationships.
I have written a work round where the 'number' fields are copied to a non auto field and then copied back to the auto field after restore.
This works ok but I was wondering if there is a another approach to the problem.

Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top