Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Complete Database Basics: Part 1

Share this post!
 Vote this!

How Does My Data Get Stored?

How the data is stored in a database is probably much simpler than you might think. Databases use a series of Tables to store the data. A table simply refers to a two dimensional representation of your data using columns and rows. For example

John     Smith            jsmith@huh.com
Paul     McCartney    paul@beatles.com
Bill       Murray          gopher@caddyshack.com


So, then , how does the database keep things straight? Well, first each database table is given a unique name. Without a unique name the DBMS (DataBase Management System) would get very confused.

Next, each column in the table is given a unique name. In our example above it would be something like first_name, last_name, email. This doesn't mean each column that you name has to be unique within the entire database. It only has to be unique within the table you have created. Also notice that the names don't use any spaces. When naming tables and columns be sure to keep it simple with letters and numbers.

More...


RECOMMENDED READING







0 comments:

Post a Comment