About us Privacy Disclaimer Contact us
FAQ Help Advertising Feedback
Home Sitemap Search Donate us

  Home > Computer & I'net > Planning database structure...

   Browse by title articles:
   What is hot:

MySQL Introduction

Planning database structure

MySQL Database Data Types

Column Modifiers

CREATE DATABASE

CREATE TABLE

A Way for Search Engines to Improve
Low Cost Web Site Promotion For Small Businesses
Learn What To Do When Windows Fail To Boot
Creating Directories
 1 2Next articles



Planning database structure


Computer & I'net articlesPlanning database structure

by David Stanley    



The first part, and most important, of a database is the planning. What kind of information are you going to be working with? What type of table structure would best suit it? Will you need to use more than one table format?

Without knowing much about how MySQL really works, it may be hard to do all of this planning. Before going head on into programming a database, take a step back and think about what you are using the database for.

An address book application may need only one table. It can hold columns representing name, address, phone number, and so forth.

Address_Book

name address phone number
     
     
     
     

Some elaborate applications may entail many tables. One that will hold product information, one to hold buyer information, one to hold seller information, one to hold catagories information, and so on.

My_Store

Catagory number Description Quantity
     
     
     
     

Vendor number Company Name Contact number
     
     
     
     

Buyer number Company Name Contact number
     
     
     
     

Take a pencil and paper, sit down for a while, and try to organize the layout. Draw a grid of rows and columns. Put titles in the top of the columns. Start a new grid page if you have a new catagory.

This can be the hardest part of creating a database. Don't worry about the exact layout. It may change as you progress through the database creation anyways. Just try to have a good idea on the kind of layout you would like to achieve.




-----------------
Article by David Stanley. Visit his site http://www.htmlite.com. Reprinted with permission.




Articles

Auto & Trucks

Business

Computer & I'net

  ·General

  ·Apache

  ·CSS

  ·Database

  ·Hardware

  ·HTML

  ·Javascript&DHTML

  ·Linux

MySQL

  ·Operating System

  ·Perl / CGI

  ·PHP

  ·Programming

  ·Publishing

  ·Search Engines

  ·Software Problems

  ·SSI

  ·Tips & Tricks

  ·Utilities

  ·Web Design

Family

Food & Drink

Gardening

Health

Other

Pets

Psychology

Spiritual

Travel

Women

 Calculators

Capital gain




  Disclaimer | Privacy | Terms of useCopyright © 2004 Nice2know.com