Difference between revisions of "HumanResources.EmployeePayHistory (table)"

From dbscript Online Help
Jump to: navigation, search
Line 5: Line 5:
 
| '''Table
 
| '''Table
 
| HumanResources.EmployeePayHistory
 
| HumanResources.EmployeePayHistory
 +
|- valign="top"
 +
| '''Description
 +
| Employee pay history.
 
|-
 
|-
 
|}
 
|}
Line 15: Line 18:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description / PK / Index
| '''Index
 
 
 
|-
+
|- valign="top"
 
| EmployeeID
 
| EmployeeID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| PK_EmployeePayHistory_EmployeeID_RateChangeDate
+
| Employee identification number. Foreign key to Employee.EmployeeID.<br />PK_EmployeePayHistory_EmployeeID_RateChangeDate
|
+
|- valign="top"
|-
 
 
| RateChangeDate
 
| RateChangeDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
|  
 
|  
| PK_EmployeePayHistory_EmployeeID_RateChangeDate
+
| Date the change in pay is effective<br />PK_EmployeePayHistory_EmployeeID_RateChangeDate
|
+
|- valign="top"
|-
 
 
| Rate
 
| Rate
 
| money
 
| money
 
| not null
 
| not null
 
|  
 
|  
|  
+
| Salary hourly rate.<br />
|
+
|- valign="top"
|-
 
 
| PayFrequency
 
| PayFrequency
 
| tinyint
 
| tinyint
 
| not null
 
| not null
 
|  
 
|  
|  
+
| 1 = Salary received monthly, 2 = Salary received biweekly<br />
|
+
|- valign="top"
|-
 
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (getdate())
|  
+
| Date and time the record was last updated.<br />
|
 
 
|}
 
|}
  
Line 68: Line 65:
 
| EmployeeID
 
| EmployeeID
 
|}
 
|}
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Reference Type
 +
| '''Object Type
 +
| '''Referencing Object
 +
 +
|-
 +
| Insert
 +
| Procedure
 +
| [[HumanResources.uspUpdateEmployeeHireInfo_(procedure)|HumanResources.uspUpdateEmployeeHireInfo]]
 +
 +
|}
 +
 +
 +
 
== automatically generated ==
 
== automatically generated ==
  

Revision as of 23:54, 28 December 2009

wikibot

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


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