ScrewTurn Wiki

Edit

wikibot

TableHumanResources.EmployeePayHistory
DescriptionEmployee pay history.

Edit

Columns

ColumnData TypeNullableDefaultDescription
EmployeeIDintnot null Employee identification number. Foreign key to Employee.EmployeeID.
RateChangeDatedatetimenot null Date the change in pay is effective
Ratemoneynot null Salary hourly rate.
PayFrequencytinyintnot null 1 = Salary received monthly, 2 = Salary received biweekly
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.

Edit

Primary Key

Primary KeyColumns
PK_EmployeePayHistory_EmployeeID_RateChangeDateEmployeeID, RateChangeDate

Edit

Check Constraints

Check ConstraintExpressionDescription
CK_EmployeePayHistory_PayFrequency(PayFrequency=(2) OR PayFrequency=(1))Check constraint PayFrequency=(3) OR PayFrequency=(2) OR PayFrequency=(1)
CK_EmployeePayHistory_Rate(Rate>=(6.50) AND Rate<=(200.00))Check constraint Rate >= (6.50) AND Rate <= (200.00)

Edit

Foreign Keys

RelationColumnReferenced Column
HumanResources.EmployeeEmployeeIDEmployeeID

Edit

References

Dependency TypeObject TypeReferenced Object
SchemaSchemaHumanResources

Edit

Dependencies

Reference TypeObject TypeReferencing Object
InsertProcedureHumanResources.uspUpdateEmployeeHireInfo

Edit

automatically generated

TableHumanResources.EmployeePayHistory
DescriptionEmployee pay history.

ColumnData TypeNullableDefaultDescription / PK / Index
EmployeeIDintnot null Employee identification number. Foreign key to Employee.EmployeeID.
PK_EmployeePayHistory_EmployeeID_RateChangeDate
RateChangeDatedatetimenot null Date the change in pay is effective
PK_EmployeePayHistory_EmployeeID_RateChangeDate
Ratemoneynot null Salary hourly rate.
PayFrequencytinyintnot null 1 = Salary received monthly, 2 = Salary received biweekly
ModifiedDatedatetimenot null(GETDATE())Date and time the record was last updated.



RelationColumnReferenced Column
HumanResources.EmployeeEmployeeIDEmployeeID

Dependency TypeObject TypeReferenced Object
SchemaSchemaHumanResources

Reference TypeObject TypeReferencing Object
InsertProcedureHumanResources.uspUpdateEmployeeHireInfo

ScrewTurn Wiki version 2.0.36. Some of the icons created by FamFamFam.