Presentation is loading. Please wait.

Presentation is loading. Please wait.

Poor Naming Standards.

Similar presentations


Presentation on theme: "Poor Naming Standards."— Presentation transcript:

1 Poor Naming Standards

2 A. Database naming conventions
The following types of database objects are discussed here: Tables Columns (incl. Primary, Foreign and Composite Keys) Indexes Constraints Views Stored Procedures Triggers

3 ALL DATABASE OBJECTS Limit the name to 30 characters
Use only letters or underscores Try to use underscore characters as little as possible Use a letter as the first character of the name Avoid abbreviations Avoid acronyms Makes the name readable Avoid using spaces in names even if the system allows it

4 1. TABLES Rule #1: Plural Names - This rule is applicable because tables are logical collections of one or more entities as records - just like collection classes are logical collections of one or more objects. Example: Customers instead of Customer UserRoles instead of UserRole


Download ppt "Poor Naming Standards."

Similar presentations


Ads by Google