Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field type - Integer(autoinc) including deleted records
Message
 
 
À
16/10/2006 23:10:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01162399
Message ID:
01162400
Vues:
23
The autoinc value gets incremented every time a record is inserted. It's never rolled back. You'll have to implement your own key generator if you want it to follow some other rules.

>
>This one might be simple, but I still have no clue.
>
>I have a table with a primary key field designed to be type integer(autoinc). My problem is that when a new record is appended, the autoinc also takes records marked for deletion into consideration and autoincrements those values also. I would like them to only include non-deleted records.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform