Table: [AdventureWorks2016CTP3].[HumanResources].[JobCandidate]

CollapseAll image

Collapse image Table properties


Name  Value 
 Schema  [HumanResources]
 Owner  [dbo]
 Table is replicated   
 Creation date  23.10.2015
 ID  1909581841
 Located on  PRIMARY
 Data size KB  128 KB
 Index size KB  152 KB
 Rows  13
 ChangeTrackingEnabled   
 FileStreamFileGroup   
 FileStreamPartitionScheme   
 LockEscalation  TABLE
 TrackColumnsUpdatedEnabled   
 Table is filetable   
 Filetable directory   
 Filetable collate   
 Filetable primary key  [PK_JobCandidate_JobCandidateID]
 Filetable streamid unique   
 Filetable fullpath unique   
 Filetable is enabled   
 Is memory optimized   
 Durability  SCHEMA_AND_DATA

Collapse image Creation options


Name  Value 
QUOTED_IDENTIFIER ON
ANSI_NULLS ON
ANSI_PADDING OFF

Collapse image Columns


      Name  Description  Data type  Max length  Nullable  Default IsGUID  SPARSE Computed value
Primary key Identity   JobCandidateID     int 4        
    Foreign key BusinessEntityID     int 4      
      Resume     xml([HumanResources].[HRResumeSchemaCollection]) 2147483647      
      ModifiedDate     datetime 8   (getdate())    
Total: 4 column(s)

Collapse image Indexes


Index  Description  Primary  Unique  Size KB 
[PK_JobCandidate_JobCandidateID] JobCandidateID   120 0
[IX_JobCandidate_BusinessEntityID] BusinessEntityID       16 0
Total: 2 Index/indexes

Collapse image Columnstore indexes


No columnstore indexes exist

Collapse image Fulltext index


Fulltext index  Description  Size KB 
FULLTEXT_INDEX_JobCandidate   0

Collapse image Identity column


  Name  Seed  Increment  Not for replication 
 JobCandidateID   1   1   

Collapse image Referenced tables


Table  Primary key or unique constraint  Foreign key 
[HumanResources].[Employee] PK_Employee_BusinessEntityID FK_JobCandidate_Employee_BusinessEntityID
Total: 1 table(s)

Collapse image Objects that depend on [HumanResources].[JobCandidate]


Object name Object type Dep level
[dbo].[uspSearchCandidateResumes] Procedure 1
[HumanResources].[vJobCandidate] View 1
[HumanResources].[vJobCandidateEducation] View 1
[HumanResources].[vJobCandidateEmployment] View 1
Total 4 object(s)

Collapse image Objects that [HumanResources].[JobCandidate] depends on


Object name Object type Dep level
[AW2014FullTextCatalog] Fulltext Catalog 1
[HumanResources] Schema 1
[HumanResources].[Employee] Table 1
[HumanResources].[HRResumeSchemaCollection] XML Schema Collection 1
Total 4 object(s)

Collapse image Extended properties


Name  Value 
MS_Description Résumés submitted to Human Resources by job applicants.

Collapse image Table options


Name  Value 
Pintable OFF
Table lock on bulk load OFF
Insert row lock OFF
Text in row 0
Large value types out of row OFF

Collapse image SQL


SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
SET ANSI_PADDING OFF
GO
CREATE TABLE [HumanResources].[JobCandidate] (
        [JobCandidateID]       [int] IDENTITY(1, 1) NOT NULL,
        [BusinessEntityID]     [int] NULL,
        [Resume]               [xml](CONTENT [HumanResources].[HRResumeSchemaCollection]) NULL,
        [ModifiedDate]         [datetime] NOT NULL,
        CONSTRAINT [PK_JobCandidate_JobCandidateID]
        PRIMARY KEY
        CLUSTERED
        ([JobCandidateID])
    ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key (clustered) constraint', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', 'CONSTRAINT', N'PK_JobCandidate_JobCandidateID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Clustered index created by a primary key constraint.', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', 'INDEX', N'PK_JobCandidate_JobCandidateID'
GO
ALTER TABLE [HumanResources].[JobCandidate]
    ADD
    CONSTRAINT [DF_JobCandidate_ModifiedDate]
    DEFAULT (getdate()) FOR [ModifiedDate]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Default constraint value of GETDATE()', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', 'CONSTRAINT', N'DF_JobCandidate_ModifiedDate'
GO
ALTER TABLE [HumanResources].[JobCandidate]
    WITH CHECK
    ADD CONSTRAINT [FK_JobCandidate_Employee_BusinessEntityID]
    FOREIGN KEY ([BusinessEntityID]) REFERENCES [HumanResources].[Employee] ([BusinessEntityID])
ALTER TABLE [HumanResources].[JobCandidate]
    CHECK CONSTRAINT [FK_JobCandidate_Employee_BusinessEntityID]

GO
EXEC sp_addextendedproperty N'MS_Description', N'Foreign key constraint referencing Employee.EmployeeID.', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', 'CONSTRAINT', N'FK_JobCandidate_Employee_BusinessEntityID'
GO
CREATE NONCLUSTERED INDEX [IX_JobCandidate_BusinessEntityID]
    ON [HumanResources].[JobCandidate] ([BusinessEntityID])
    ON [PRIMARY]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Nonclustered index.', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', 'INDEX', N'IX_JobCandidate_BusinessEntityID'
GO
CREATE FULLTEXT INDEX ON [HumanResources].[JobCandidate]
    ([Resume] LANGUAGE 1033)
    KEY INDEX [PK_JobCandidate_JobCandidateID]
    ON (FILEGROUP [PRIMARY], [AW2014FullTextCatalog])
    WITH CHANGE_TRACKING AUTO, STOPLIST SYSTEM
GO
EXEC sp_addextendedproperty N'MS_Description', N'Employee identification number if applicant was hired. Foreign key to Employee.BusinessEntityID.', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', 'COLUMN', N'BusinessEntityID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key for JobCandidate records.', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', 'COLUMN', N'JobCandidateID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Date and time the record was last updated.', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', 'COLUMN', N'ModifiedDate'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Résumé in XML format.', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', 'COLUMN', N'Resume'
GO
EXEC sp_addextendedproperty N'MS_Description', N'Résumés submitted to Human Resources by job applicants.', 'SCHEMA', N'HumanResources', 'TABLE', N'JobCandidate', NULL, NULL
GO

Collapse image See also


List of tables