Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary Index Key on multiple fields.
Message
From
19/04/2002 10:15:13
 
 
To
19/04/2002 09:55:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00646879
Message ID:
00646897
Views:
11
>As a general rule you should NEVER have primary keys on dependant data in a table, For Primary keys I always generate a URN type Field ( unique reference number) and other indexes are just Regular type not primary , candidiate or unique
>duplicate table data in a primary key will cause table updates to fail with the error uniqueness of index is violated...

Hi Colin,

We've had no trouble with tables that have a primary key based on 1 field. It's just when compuonding the fields.

URN's are something I'll have to discuss with the DBA. It's an idea.

Thanks
Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform