Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reset autoinc nextvalue
Message
De
02/07/2003 15:54:12
 
 
À
02/07/2003 15:34:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00806247
Message ID:
00806284
Vues:
12
If you can max it out in a few years, you've got a bunch of records running through there :)

Like Fred said, you can do ALTER TABLE to drop the field and then ALTER TABLE again to add it back, but me thinks copying the file is easier.

ZAP has to write the entire new file once, ALTER TABLE method will have to write the file twice (I think), and it would put the new field at the end of the field list...which may or may not matter to you.

And since the empty file should be small, performance differences should be negligible.

>Granted it would take a few years to max them out.
>
>When zap didn't reset the nextvalue too, it got me looking in help on how to reset the nexvalue.(still haven't found it) But your suggestion on creating an empty table every time I need it is what I really need to be doing.
>
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform