Difference between revisions of "HumanResources.EmployeePayHistory (table)"
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- valign="top" |
| '''Table | | '''Table | ||
| HumanResources.EmployeePayHistory | | HumanResources.EmployeePayHistory | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Employee pay history. | | Employee pay history. | ||
− | |||
|} | |} | ||
− | |||
=== Columns === | === Columns === | ||
Line 20: | Line 18: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
|- valign="top" | |- valign="top" | ||
| EmployeeID | | EmployeeID | ||
Line 58: | Line 56: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- valign="top" |
| PK_EmployeePayHistory_EmployeeID_RateChangeDate | | PK_EmployeePayHistory_EmployeeID_RateChangeDate | ||
| EmployeeID, RateChangeDate | | EmployeeID, RateChangeDate | ||
Line 69: | Line 67: | ||
| '''Expression | | '''Expression | ||
| '''Description | | '''Description | ||
− | + | ||
− | |- | + | |- valign="top" |
| CK_EmployeePayHistory_PayFrequency | | CK_EmployeePayHistory_PayFrequency | ||
| ([PayFrequency]=(2) OR [PayFrequency]=(1)) | | ([PayFrequency]=(2) OR [PayFrequency]=(1)) | ||
| Check constraint [PayFrequency]=(3) OR [PayFrequency]=(2) OR [PayFrequency]=(1) | | Check constraint [PayFrequency]=(3) OR [PayFrequency]=(2) OR [PayFrequency]=(1) | ||
− | |- | + | |- valign="top" |
| CK_EmployeePayHistory_Rate | | CK_EmployeePayHistory_Rate | ||
| ([Rate]>=(6.50) AND [Rate]<=(200.00)) | | ([Rate]>=(6.50) AND [Rate]<=(200.00)) | ||
Line 86: | Line 84: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- valign="top" |
| [[HumanResources.Employee_(table)|HumanResources.Employee]] | | [[HumanResources.Employee_(table)|HumanResources.Employee]] | ||
| EmployeeID | | EmployeeID | ||
Line 100: | Line 98: | ||
| '''Referenced Object | | '''Referenced Object | ||
− | |- | + | |- valign="top" |
| Schema | | Schema | ||
| Schema | | Schema | ||
− | | [[HumanResources_(schema)|HumanResources]] | + | | [[HumanResources_(_(schema))|HumanResources]] |
|} | |} | ||
Line 114: | Line 112: | ||
| '''Referencing Object | | '''Referencing Object | ||
− | |- | + | |- valign="top" |
| Insert | | Insert | ||
| Procedure | | Procedure | ||
− | | [[HumanResources.uspUpdateEmployeeHireInfo_(procedure)|HumanResources.uspUpdateEmployeeHireInfo]] | + | | [[HumanResources.uspUpdateEmployeeHireInfo_(_(procedure))|HumanResources.uspUpdateEmployeeHireInfo]] |
|} | |} |
Revision as of 23:00, 23 June 2010
Contents
wikibot
Table | HumanResources.EmployeePayHistory |
Description | Employee pay history. |
Columns
Column | Data Type | Nullable | Default | Description |
EmployeeID | int | not null | Employee identification number. Foreign key to Employee.EmployeeID. | |
RateChangeDate | datetime | not null | Date the change in pay is effective | |
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. |
Primary Key
Primary Key | Columns |
PK_EmployeePayHistory_EmployeeID_RateChangeDate | EmployeeID, RateChangeDate |
Check Constraints
Check Constraint | Expression | Description |
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) |
Foreign Keys
Relation | Column | Referenced Column |
HumanResources.Employee | EmployeeID | EmployeeID |
References
Dependency Type | Object Type | Referenced Object |
Schema | Schema | HumanResources |
Dependencies
Reference Type | Object Type | Referencing Object |
Insert | Procedure | HumanResources.uspUpdateEmployeeHireInfo |
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 effective PK_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 |
Dependency Type | Object Type | Referenced Object |
Schema | Schema | HumanResources |
Reference Type | Object Type | Referencing Object |
Insert | Procedure | HumanResources.uspUpdateEmployeeHireInfo |