Problem solve Get help with specific problems with your technologies, process and projects.

Table naming guidelines

What are the standerd naming conventions for tables, and which types of table names are being used nowadays? There...

really aren't industry standards for naming tables and other database objects. It is more company policy or standards that take effect. I'd offer the following suggestions as guidelines:

1. Keep the name short, but not too short as to make it cryptic. For instance, ACCOUNTS_PAYABLE is fine, A_P is not.
2. Some abbreviations are ok, but standards your abbreviations. For instance, ACCTS_PAYABLE and ACNTS_DUE use two different abbreviations for the same word.
3. For non-table objects, it is often desirable to use a short description of that object type in the object name, i.e. PKG, FN, IDX, etc.
4. For indexes, the table name should be part of the index name so that you can quickly identify which table the index belongs to. Similarly for constraints.

This was last published in February 2004

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.