Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Tables vs SQL Server
Message
From
23/01/2000 21:52:25
 
 
To
23/01/2000 21:37:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00321142
Message ID:
00321516
Views:
42
Hi Peter

>TABLE.iTABLE is always the primary integer key.
>TABLE.cTABLE is an alternate character key.

TABLE.iTABLE? Isn't that redundant? If you ask me, its not very precise either. Why not TABLE.id and TABLE.name. ACtually as nice in theory as that is, I prefer to do TABLE.id_TBL (Shortened version of TABLE) that way, your relationshipd are easier to match. But .name is still a better idea than just renaming it after the table:

EMPLOYEE.Name
ITEMS.Name
MANUFACTURER.Name
SUPPLIER.Name


>TABLE.dStart instead of TABLE.StartDate
>TABLE.tStart instead of TABLE.StartDtTim

This I'm not going to touch just because I know its an example off the top of your head :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform