Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: HumanResources Employee (table)

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 2010/01/09 17:03


wikibot

TableHumanResources.Employee
DescriptionEmployee information such as salary, department, and title.

ColumnData TypeNullableDefaultDescription / PK / Index
EmployeeIDintnot null Primary key for Employee records.
PK_Employee_EmployeeID
NationalIDNumbernvarchar(15)not null Unique national identification number such as a social security number.
AK_Employee_NationalIDNumber
ContactIDintnot null Identifies the employee in the Contact table. Foreign key to Contact.ContactID.
LoginIDnvarchar(256)not null Network login.
AK_Employee_LoginID
ManagerIDintnull Manager to whom the employee is assigned. Foreign Key to Employee.M
IX_Employee_ManagerID
Titlenvarchar(50)not null Work title such as Buyer or Sales Representative.
BirthDatedatetimenot null Date of birth.
MaritalStatusnchar(1)not null M = Married, S = Single
Gendernchar(1)not null M = Male, F = Female
HireDatedatetimenot null Employee hired on this date.
SalariedFlagdbo.Flagnot null((1))Job classification. 0 = Hourly, not exempt from collective bargaining. 1 = Salaried, exempt from collective bargaining.
VacationHourssmallintnot null((0))Number of available vacation hours.
SickLeaveHourssmallintnot null((0))Number of available sick leave hours.
CurrentFlagdbo.Flagnot null((1))0 = Inactive, 1 = Active
rowguiduniqueidentifiernot null(newid())ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_Employee_rowguid
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.



RelationColumnReferenced Column
Person.ContactContactIDContactID
HumanResources.EmployeeManagerIDEmployeeID

Detail TableColumnReferencing Column
HumanResources.EmployeeEmployeeIDManagerID
HumanResources.EmployeeAddressEmployeeIDEmployeeID
HumanResources.EmployeeDepartmentHistoryEmployeeIDEmployeeID
HumanResources.EmployeePayHistoryEmployeeIDEmployeeID
HumanResources.JobCandidateEmployeeIDEmployeeID
Purchasing.PurchaseOrderHeaderEmployeeIDEmployeeID
Sales.SalesPersonEmployeeIDSalesPersonID

TriggersType
dEmployeeINSTEAD OF DELETE

Dependency TypeObject TypeReferenced Object
Data TypeTypedbo.Flag

Reference TypeObject TypeReferencing Object
SelectViewHumanResources.vEmployee
SelectViewHumanResources.vEmployeeDepartment
SelectViewHumanResources.vEmployeeDepartmentHistory
SelectViewSales.vSalesPerson
SelectViewSales.vSalesPersonSalesByFiscalYears
SelectProceduredbo.uspGetEmployeeManagers
SelectProceduredbo.uspGetManagerEmployees
UpdateProcedureHumanResources.uspUpdateEmployeeHireInfo
UpdateProcedureHumanResources.uspUpdateEmployeeLogin
UpdateProcedureHumanResources.uspUpdateEmployeePersonalInfo
SelectSQL table-valued-functiondbo.ufnGetContactInformation

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