Difference between revisions of "HumanResources.EmployeePayHistory (table)"
| Line 68: | Line 68: | ||
| EmployeeID | | EmployeeID | ||
|} | |} | ||
| − | |||
== automatically generated == | == automatically generated == | ||
| Line 90: | Line 89: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description / PK / Index |
| − | |||
| − | |- | + | |- valign="top" |
| EmployeeID | | EmployeeID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
| − | | Employee identification number. Foreign key to Employee.EmployeeID. | + | | Employee identification number. Foreign key to Employee.EmployeeID.PK_EmployeePayHistory_EmployeeID_RateChangeDate |
| − | + | |- valign="top" | |
| − | |- | ||
| RateChangeDate | | RateChangeDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| | | | ||
| − | | Date the change in pay is | + | | Date the change in pay is effectivePK_EmployeePayHistory_EmployeeID_RateChangeDate |
| − | + | |- valign="top" | |
| − | |- | ||
| Rate | | Rate | ||
| money | | money | ||
| Line 113: | Line 109: | ||
| | | | ||
| Salary hourly rate. | | Salary hourly rate. | ||
| − | + | |- valign="top" | |
| − | |- | ||
| PayFrequency | | PayFrequency | ||
| tinyint | | tinyint | ||
| Line 120: | Line 115: | ||
| | | | ||
| 1 = Salary received monthly, 2 = Salary received biweekly | | 1 = Salary received monthly, 2 = Salary received biweekly | ||
| − | + | |- valign="top" | |
| − | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| Line 127: | Line 121: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date and time the record was last updated. | | Date and time the record was last updated. | ||
| − | |||
|} | |} | ||
| Line 142: | Line 135: | ||
| EmployeeID | | EmployeeID | ||
| EmployeeID | | EmployeeID | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Referencing Object | ||
| + | | '''Object Type | ||
| + | | '''Reference Type | ||
| + | |||
| + | |- | ||
| + | | [[HumanResources.uspUpdateEmployeeHireInfo_(procedure)|HumanResources.uspUpdateEmployeeHireInfo]] | ||
| + | | Procedure | ||
| + | | Insert | ||
|} | |} | ||
Revision as of 23:57, 26 November 2009
wikibot
| Table | HumanResources.EmployeePayHistory |
| Column | Data Type | Nullable | Default | PK | Index |
| EmployeeID | int | not null | PK_EmployeePayHistory_EmployeeID_RateChangeDate | ||
| RateChangeDate | datetime | not null | PK_EmployeePayHistory_EmployeeID_RateChangeDate | ||
| Rate | money | not null | |||
| PayFrequency | tinyint | not null | |||
| ModifiedDate | datetime | not null | (getdate()) |
| Relation | Column | Referenced Column |
| HumanResources.Employee | EmployeeID | EmployeeID |
automatically generated
| Table | HumanResources.EmployeePayHistory |
| Description | Employee pay history. |
| Column | Data Type | Nullable | Default | Description / PK / Index |
| EmployeeID | int | not null | Employee identification number. Foreign key to Employee.EmployeeID.PK_EmployeePayHistory_EmployeeID_RateChangeDate | |
| RateChangeDate | datetime | not null | Date the change in pay is effectivePK_EmployeePayHistory_EmployeeID_RateChangeDate | |
| Rate | money | not null | Salary hourly rate. | |
| PayFrequency | tinyint | not null | 1 = Salary received monthly, 2 = Salary received biweekly | |
| ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
| Relation | Column | Referenced Column |
| HumanResources.Employee | EmployeeID | EmployeeID |
| Referencing Object | Object Type | Reference Type |
| HumanResources.uspUpdateEmployeeHireInfo | Procedure | Insert |