> From: Andrew Dixon [mailto:[EMAIL PROTECTED] 
> I'm just starting a major project for a government client and 
> the first job is to design the database. Is there any 
> recongnised convention on the naming of database fields. In 
> the past I have always named them [table_name_field_name] for 
> example: projects_id where the table is called 'projects' and 
> the field is called 'id'.

I tend to go with the following:

For example:

Table: APPLICATION_USER

Field (primary key): APPLICATION_USER_ID

Additional Fields:
FIRST_NAME
MIDDLE_NAME
LAST_NAME
EMAIL_ADDRESS
ADDRESS1
ADDRESS2

Etc...

Michael T. Tangorre 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the mailserver that powers this list at 
http://www.houseoffusion.com/banners/view.cfm?bannerid=17

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181821
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to