HumanResources.EmployeePayHistory Table
Description
Employee pay history.
Properties
| Creation Date | 17/07/2014 16:11 |
| File Group | PRIMARY |
| Text File Group | |
| System Object | ![]() |
| Published for Replication | ![]() |
| Rows | 316 |
| Data Space Used | 16.00 KB |
| Index Space Used | 16.00 KB |
Columns
| Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
|---|---|---|---|---|---|---|---|
| BusinessEntityID | Employee identification number. Foreign key to Employee.BusinessEntityID. | Integer | 4 | |||
| RateChangeDate | Date the change in pay is effective | DBTimeStamp | 4 | |||
| Rate | Salary hourly rate. | Currency | 8 | ||||
| PayFrequency | 1 = Salary received monthly, 2 = Salary received biweekly | UnsignedTinyInt | 1 | ||||
| ModifiedDate | Date and time the record was last updated. | DBTimeStamp | 4 | (getdate()) |
Indexes
| Index | Description | Primary | Unique |
|---|---|---|---|
| PK_EmployeePayHistory_BusinessEntityID_RateChangeDate | Primary key (clustered) constraint | ![]() | ![]() |
Check Constraints
| Name | Description | Expression |
|---|---|---|
| CK_EmployeePayHistory_PayFrequency | Check constraint [PayFrequency]=(3) OR [PayFrequency]=(2) OR [PayFrequency]=(1) | ([PayFrequency]=(2) OR [PayFrequency]=(1)) |
| CK_EmployeePayHistory_Rate | Check constraint [Rate] >= (6.50) AND [Rate] <= (200.00) | ([Rate]>=(6.50) AND [Rate]<=(200.00)) |
Relationships
| Relationship | Description |
|---|---|
| FK_EmployeePayHistory_Employee_BusinessEntityID | Foreign key constraint referencing Employee.EmployeeID. |
Objects that depend on HumanResources.EmployeePayHistory
| Database Object | Object Type | Description | Dep Level | |
|---|---|---|---|---|
![]() | HumanResources.uspUpdateEmployeeHireInfo | Stored Procedure | Updates the Employee table and inserts a new row in the EmployeePayHistory table with the values specified in the input parameters. | 1 |
Objects that HumanResources.EmployeePayHistory depends on
| Database Object | Object Type | Description | Dep Level | |
|---|---|---|---|---|
![]() | Person.BusinessEntity | Table | Source of the ID that connects vendors, customers, and employees with address and contact information. | 3 |
![]() | HumanResources.Employee | Table | Employee information such as salary, department, and title. | 1 |
![]() | dbo.Flag | User Defined Data Type | 2 | |
![]() | dbo.Name | User Defined Data Type | 3 | |
![]() | dbo.NameStyle | User Defined Data Type | 3 | |
![]() | Person.Person | Table | Human beings involved with AdventureWorks: employees, customer contacts, and vendor contacts. | 2 |
SQL
|
See Also




