I preface all table names with 3 character group reference.
SECURITY
SEC_Roles PK=Role_Key
SEC_Users PK=User_Key
SEC_User_Roles PK=User_Role_Key
FK=Role_Key
FK=User_Key
BILLING
BIL_Invoices PK=Invoice_Key
BIL_Payments PK=Payment_Key
BIL_Invoice_Payments
FK=Invoice_Key
FK=Payment_Key
Etc...
-B
-----Original Message-----
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 10:02 AM
To: CF-Talk
Subject: RE: database linking table naming conventions?
I'm confused. You're worried about the name of the table and the order
of the table names in your DB? This is a problem I've never heard of.
DBAs just name things what they want, and I've never heard of table
names causing problems except for cases like reserved words and special
characters in the name. Or am I misunderstanding your question?
> -----Original Message-----
> From: John McKown [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 14, 2006 7:05 AM
>
> Imagine these two database tables: "Users" and "Groups"
>
> You want a Foreign Key table to link them together (or what I
> call a linking
> table) that might be named "UserGroups".
>
> But "UserGroups" as a table name itself does not stand out in
> the table list
> because it does not use a prefixed naming convention
> (something I like about
> Fusebox on the web side).
>
> Examples table names might be: "LT_Users_Groups" or....
> "FK_Users_Groups".
>
> Is there an understood standard there? Also, the order of
> the table names
> might need to be taken into account based on where the
> foreign keys are.
[INFO] -- Access Manager:
This transmission may contain information that is privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained
herein (including any reliance thereon) is STRICTLY PROHIBITED. If you
received this transmission in error, please immediately contact the
sender and destroy the material in its entirety, whether in electronic
or hard copy format. Thank you. A2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237784
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54