Click here to Skip to main content
15,890,043 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to use insert command in Access database? Pin
Mike Ellison7-Jan-05 5:55
Mike Ellison7-Jan-05 5:55 
GeneralRe: How to use insert command in Access database? Pin
DuyNguyen8-Jan-05 8:08
DuyNguyen8-Jan-05 8:08 
GeneralSQL Merge Replication Pin
Purple Monk4-Jan-05 23:41
Purple Monk4-Jan-05 23:41 
GeneralAccess db @@indentity how to get new record Pin
xsoftdev24-Jan-05 14:33
xsoftdev24-Jan-05 14:33 
GeneralRe: Access db @@indentity how to get new record Pin
Mike Ellison7-Jan-05 5:48
Mike Ellison7-Jan-05 5:48 
GeneralRe: Access db @@indentity how to get new record Pin
xsoftdev28-Jan-05 18:36
xsoftdev28-Jan-05 18:36 
QuestionHow can I .... Pin
KORCARI4-Jan-05 14:03
KORCARI4-Jan-05 14:03 
AnswerRe: How can I .... Pin
Colin Angus Mackay4-Jan-05 23:01
Colin Angus Mackay4-Jan-05 23:01 
KORCARI wrote:
Can anyone show me any tricks about this ?

There are no tricks to normalisation.

IIRC, 1st normal form is to ensure that each column represents one distinct piece of data. e.g. If you currently have a Name column which contains, for example, Colin Mackay, that should be split into a Forename and Surname - "Colin" and "Mackay" (you may also want a middle name, and perhaps an additional surname (e.g. Spanish people have two surnames), title, and suffixes - it depends on what you want to do).

2nd Normal form is to ensure that each table has a primary key. This is normally a single column, but you can have compound primary keys with more than one column. A primary key must be unique. So, a person's name is not valid, but their National Insurance number is (or SSN, or a UserID, or whatever). Often you will have to create some sort of scheme to generate a unique value - most databases offer this facility.

3rd Normal form is to ensure that only data directly related to the primary key is stored in the table. So, for instance, if you were designing an application that held an electoral role that had each registered voter and their address in the database. You would split off the address into a separate table because it isn't directly related to the person (there may be more than one person living at the address). Now you have two tables, the person table will also have a foreign key (which is a copy of the primary key value for the address in the Address table).

Does this help? If you are still having problems perhaps you can post some details about your data and we can point you in the right direction using something you are familiar with. I know that when I first learned about normalisation I didn't get it the first time because the examples were all arbitrary. It was only when I had a real problem to solve that I started to understand what it was all about.


Do you want to know more?
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums


GeneralNormalisation Pin
Edbert P5-Jan-05 17:35
Edbert P5-Jan-05 17:35 
GeneralRe: Normalisation Pin
Colin Angus Mackay5-Jan-05 22:35
Colin Angus Mackay5-Jan-05 22:35 
AnswerRe: How can I .... Pin
Edbert P5-Jan-05 17:34
Edbert P5-Jan-05 17:34 
QuestionHow to I get one table out of two ? Pin
Christian Graus4-Jan-05 9:47
protectorChristian Graus4-Jan-05 9:47 
AnswerRe: How to I get one table out of two ? Pin
Edbert P4-Jan-05 10:45
Edbert P4-Jan-05 10:45 
GeneralSQL to run mathematical equations Pin
ColdWaterBlue4-Jan-05 8:58
ColdWaterBlue4-Jan-05 8:58 
GeneralRe: SQL to run mathematical equations Pin
Colin Angus Mackay4-Jan-05 12:34
Colin Angus Mackay4-Jan-05 12:34 
GeneralAccessing Remote Files Via VBA code in Access DB Pin
frank214-Jan-05 2:44
frank214-Jan-05 2:44 
GeneralCrossTab Sql Server 2000 Pin
nikneem20054-Jan-05 1:53
nikneem20054-Jan-05 1:53 
GeneralRe: CrossTab Sql Server 2000 Pin
-Dr_X-14-Jan-05 15:08
-Dr_X-14-Jan-05 15:08 
GeneralOracle upgrade script gneration Pin
Andy H4-Jan-05 0:30
Andy H4-Jan-05 0:30 
Generalrecord locking Pin
ppp0014-Jan-05 0:07
ppp0014-Jan-05 0:07 
GeneralADO and Mysql Database! Pin
paykani3-Jan-05 20:04
paykani3-Jan-05 20:04 
GeneralRe: ADO and Mysql Database! Pin
S Douglas5-Jan-05 22:17
professionalS Douglas5-Jan-05 22:17 
GeneralColumn order in DataSet Pin
janigorse3-Jan-05 19:51
janigorse3-Jan-05 19:51 
GeneralRe: Column order in DataSet Pin
Colin Angus Mackay3-Jan-05 23:08
Colin Angus Mackay3-Jan-05 23:08 
GeneralRe: Column order in DataSet Pin
janigorse3-Jan-05 23:30
janigorse3-Jan-05 23:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.