Hi
in my payroll, two of the tables is for salary & period
tblSalary
SalaryID(PK)
EmployeeID(FK)
SalaryAmount
CalendarID(FK)
AccountsCode(FK)
tblCalendar
CalendarID(PK)
DateFrom
DateTo
I realise that, in salary table, i need to repeat the same data for different period, ie Nov 2011 and Dec 2011.
I wonder is it okay to have the same salary data till there are changes. ie in 2011, employee A's salary is $1000 every month. so instead of inputting the same data to salary table every month to show its calendar month, can i just leave it and not to input anything for the new month till there is a change for this data?
Shall i change my table structure for calendar?
Thanks
in my payroll, two of the tables is for salary & period
tblSalary
SalaryID(PK)
EmployeeID(FK)
SalaryAmount
CalendarID(FK)
AccountsCode(FK)
tblCalendar
CalendarID(PK)
DateFrom
DateTo
I realise that, in salary table, i need to repeat the same data for different period, ie Nov 2011 and Dec 2011.
I wonder is it okay to have the same salary data till there are changes. ie in 2011, employee A's salary is $1000 every month. so instead of inputting the same data to salary table every month to show its calendar month, can i just leave it and not to input anything for the new month till there is a change for this data?
Shall i change my table structure for calendar?
Thanks