Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Tables vs SQL Server
Message
From
23/01/2000 22:57:05
 
 
To
23/01/2000 21:52:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00321142
Message ID:
00321525
Views:
40
>
>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



My PK field is always name TableId, so in a Customer table, it would be CustomerID. That fieldname flows through to all other tables that use it. Also, I never, ever use underscore. Too difficult to type. I can use upper/lower case to differentiate enough.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform