> Hi all,
> I need a proper index naming standard for my database (datawarehouse).
[quoted text clipped - 8 lines]
> How to differentiate them meaningfully? Some proper suffix needs to be in
> place.
Here's what I do (though it is not a dw). Tables are given descriptive
names, and I use singular. Example:
CUSTOMER
ACCOUNT
For indexes I use:
XPK<tablename>, for primary key index (Primary Key)
XAKn<tablename>, for other unique indexes, (Alternative Key)
XIEnm<tablename>, for non unique indexes (Inversion Entry)
n, nm is a 1- or 2- digit integer, and since the allowed names for
indexes are shorter than for tables, I usually end up using
abrevations. Example:
X03CUST_ACCNT
HTH
/Lennart