Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatic Primary Key Value
Message
From
07/08/2001 10:52:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Automatic Primary Key Value
Miscellaneous
Thread ID:
00540694
Message ID:
00540694
Views:
59
Just beginning to delve into SQL syntax in VFP and would like to create a primary (numeric) key in a table. I would also like this field to simply be an integer value which increments by 1 each time a new record is added.

Some SQL languages have a definition which causes this to happen. I haven't seen any reference to something like this so far. Is there anything like this in VFP ?

If not, is there a recommended method for handling this ? Separate FREE table to store next value in ? Table within the database ?
Next
Reply
Map
View

Click here to load this message in the networking platform