Microsoft
Software
Hardware
Network
Question : database redesign
Hello guys. I am using access to enter the data into the database. The current database that I was using was flawed in several ways. There were no primary keys and no normalization followed. Now I want to rectify that and need your help.
This is what I was trying to do. We are storing the attendance for each employee. The database fields are
1) empid
2) empname
3) empdesignation
4) functionality
5) jobid
6) Attendence Date
The existing database would enter the data as
1001 Preetham IT Engineer IT 4 05/28/2009
1001 Preetham IT Engineer IT 4 05/29/2009
1001 Preetham IT Engineer IT 4 05/30/2009
1001 Preetham IT Engineer IT 4 05/31/2009
1002 Jayanth Music Manager Music 3 05/28/2009
1002 Jayanth Music Manager Music 3 05/29/2009
1002 Jayanth Music Manager Music 3 05/30/2009
1002 Jayanth Music Manager Music 3 05/31/2009
1003 Paul Software Engineer IT 4 05/28/2009
1003 Paul Software Engineer IT 4 05/29/2009
1003 Paul Software Engineer IT 4 05/30/2009
1003 Paul Software Engineer IT 4 05/312009
As you can see there's severe duplication occuring. How can i store the attendance without any duplication occurring for the emp id. Should i create another table for the attendence sepeately. Please guide me. Thanks in advance.
Answer : database redesign
Check out the new sample attached. Here you should use the concept of form/subform. Any other fields related to attendance should go in Attedance Details table.
Q-24451304-Employee-Attendance-D.mdb
(296 KB)
(File Type Details)
New sample
Random Solutions
Printers Disappear
SQL Server 2005 cube processing error
Cyclical Error prevents me from copying DVD film data
Bandwidth limiter
Standalone Rules Editor
Strong SA Password (SAPWD)
"Operation could not be completed. The Print Spooler service is not running."
mail sent using asp and iis5.1 goes directly to badmail folder
Logging onto a Domain Controller
2k3 Server with multiple names share question (500pts)