Hi Joe,
I'm going to pick up a copy (liked your "trees" book btw, especially
the nested sets).
Question about the template:
If I understand, you'd do things like
ship_to_customer_nr
bill_to_cutomer_nr
Because it's relational, column order is not significant, but when
people look for stuff, it's nice to be able to sort the catalog.
If the naming template were attribute_role_property, the columns would
look like this:
customer_ship_to_nr
customer_bill_to_nr
It would be easy to find the columns when you issue this query:
SELECT TABLE_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE
TABLE_NAME = '<something>' ORDER BY COLUMN_NAME
because all the customer stuff would sort together.
What do you think?
Thanks,
Bill
On Nov 21, 6:40*am, --CELKO-- <jcelko... (AT) earthlink (DOT) net> wrote:
Quote:
get a copy of SQL PROGRAMMING STYLE. *I follow the ISO-11179 meta data
rules and I did research on readable code for AIRMICS. *The lower-case
letters with underscores is right but there is more to it than just
that. *The template is [<role>_]<attribute>_<property>.
|