Poor Naming Standards.

Slides:



Advertisements
Similar presentations
1 SQL Server Management Studio SQL DDL CREATE TABLE Constraints ALTER TABLE DROP TABLE The GUI way Steen Jensen, autumn 2013.
Advertisements

The Relational Database Model – some relations you might want to avoid!!!
ETEC 100 Information Technology
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
Introduction to Relational Database ISYS 464. Introduction to Relational Model Data is logically structured within relations. Each relation is a table.
Designing a Database Unleashing the Power of Relational Database Design.
MIS 451 Building Business Intelligence Systems Logical Design (3) – Design Multiple-fact Dimensional Model.
Database – Part 2a Dr. V.T. Raja Oregon State University.
Relational Database Management System A type of database in which records are stored in relational form is called relational database management system.
Chapter 9: Creating Database Conventions & Standards MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
DATA MODELING AND DATABASE DESIGN
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
Designing a Database (Part I) -Identify all fields needed to produce the required information -Group related fields into tables -Determine Each Table’s.
1 Database & DBMS The data that goes into transaction processing systems (TPS), also goes to a database to be stored and processed later by decision support.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
Database Design. The process of developing database structures from user requirements for data a structured methodology Structured Methodology - a number.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
3. Relational Model Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
Constraints cis 407 Types of Constraints & Naming Key Constraints Unique Constraints Check Constraints Default Constraints Misc Rules and Defaults Triggers.
File and Database Design Class 22. File and database design: 1. Choosing the storage format for each attribute from the logical data model. 2. Grouping.
Visual Programing SQL Overview Section 1.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved CHAPTER 6 DATABASES AND DATA WAREHOUSES CHAPTER 6 DATABASES AND DATA WAREHOUSES.
Order Database – ER Diagram Prepared by Megan Foster Fall Semester 2014.
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
Poor Naming Standards Presented by: Niño R. Ricon Alain Anuevo MIT Presented to Dr. Armando and to the class of Database Design.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
28-Jan-16db.ppt Relational Database Concepts. 28-Jan-16db.ppt relational database example contain tables tables contain records (rows) records are broken.
SE305 Database System Technology 25/09/2014 Quiz-1.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Howard Paul. Sequential Access Index Files and Data File Random Access.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. A database is a collection of information organized to provide efficient retrieval. The collected information.
Constraints Advanced Database Systems Dr. AlaaEddin Almabhouh.
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
Understanding Data Storage
Database Design.
Databases.
CS320 Web and Internet Programming SQL and MySQL
Revised: 2 April 2004 Fred Swartz
IS 130 Information systems 1
Database Systems Chapter 3 1.
Data Models.
CIS 207 The Relational Database Model
CSCI-100 Introduction to Computing
Design a Relational Database Identify Database Purpose
Databases A brief introduction….
RELATIONAL DATABASE MODEL
MS Access: Creating Databases
Entity-Relationship Model and Diagrams (continued)
Relational Model and ER Model: in a Nutshell
Order Database – ER Diagram
Data Modelling Introduction
Normalization Referential Integrity
Chapter 4 The Relational Model Pearson Education © 2009.
5.02 Understand database queries, forms, and reports used in business.
MIS2502: Data Analytics Converting ERDs to Schemas
Relational Database Model
Session 2 Welcome: The seventh learning sequence
Database.
Chapter 4 The Relational Model Pearson Education © 2009.
Chapter 4 The Relational Model Pearson Education © 2009.
Lingma Acheson Department of Computer and Information Science IUPUI
CS3220 Web and Internet Programming SQL and MySQL
Data Definition Language
Chapter 4 The Relational Model Pearson Education © 2009.
CS3220 Web and Internet Programming SQL and MySQL
2-2 Logic Part 2 Truth Tables.
BTEC ICT – Unit 18 With Mr Griffiths.
Template for the portfolio.
Chapter 3 The Relational Model
Presentation transcript:

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 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

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