Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO / VFP
Message
From
25/10/1998 00:26:56
 
 
To
24/10/1998 11:25:42
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, California, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00150131
Message ID:
00150258
Views:
18
Nice post, Eric!

>
>The answer is to make the primary key assigning part of the stored procedures of the database. SQL Server does with a datatype called IDENTITY, which is an automatically auto-incremented integer field.
>

And if you're backend store is Oracle, look at Sequences.....which are maintained in Oracle system tables and assigned via (if I recall) assignment of a column to a domain.

And if you're in SQL7, there is a new datatype called "uniqueidentifier" which will assign GUIDs....

My .02 to an already well-thought out post :)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform