1 / 4

Poor Naming Standards

Poor Naming Standards. 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. ALL DATABASE OBJECTS

Download Presentation

Poor Naming Standards

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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

More Related