Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto increment Identity field
Message
De
08/10/2003 15:12:38
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Auto increment Identity field
Divers
Thread ID:
00836418
Message ID:
00836418
Vues:
51
I am using VFP 8 to develop an application with the data in MS SQL 2000.

I have a table with an identity field called ID and it is an integer. When I append a blank record, I thought it would populate the ID field with the next number but it does not.

Now I just go to the bottom of the table and add one to the last record ID, but this could get darn slow as the system ends up with a large number of records.

How do I get SQL or VFP to automatically increment that number?

Should I just not use Append Blank?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform