Click here to Skip to main content
15,891,431 members
Home / Discussions / Database
   

Database

 
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 
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 
Here's what I know about 1st to 3rd NF:

1st NF: No repetition.
Make sure there are no repetition of data or multivalue in single column (e.g. 2 phone numbers in one column "9999 9998, 9999 9999"). That means you may have to split the table into several tables until there is no repetition of data.

2nd NF: No partial dependency.
Check tables with compound PKs (PKs consist of 2 or more column). If there is a column that depends only on a part of the compound PK then you have to put it in a new table e.g. table with columns
StudentID, ClassID, Grade, StudentName
has to be separated into
StudentID, ClassID, Grade
StudentID, Student Name
as StudentName is only dependant on StudentID, not both StudentID and ClassID (the composite PK) hence the partial dependency.

3rd NF: No transitive dependency.
Check that there are no columns (including the PK) that is dependant on a non-PK column e.g. table with columns
EmployeeID, EmployeeName, ManagerID, ManagerName
has to be separated into
EmployeeID, EmployeeName, ManagerID
ManagerID, ManagerName
as ManagerName is dependant on ManagerID (non-PK) hence the transitive dependency.

Hope it helps! Big Grin | :-D

Edbert P.
Sydney, Australia.
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 
GeneralRe: Column order in DataSet Pin
Colin Angus Mackay3-Jan-05 23:37
Colin Angus Mackay3-Jan-05 23:37 
General2 thread use the same database connection to do transaction Pin
ting6683-Jan-05 16:52
ting6683-Jan-05 16:52 
GeneralRe: 2 thread use the same database connection to do transaction Pin
Colin Angus Mackay3-Jan-05 22:59
Colin Angus Mackay3-Jan-05 22:59 

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.