EnterpriseDW
 dbo.DimCompensationType (Table)
  Properties
Property Value
Name DimCompensationType
Schema dbo
Row Count 109
Data Size 16 KB
Index Size 16 KB
Create Date 3/9/2017 10:43 AM
Description
  Columns
 
 
Column Name
Data Type
Allow Nulls
Row Guid
Fulltext Indexed
Identity
Default
Description / Computed Formula
CompensationCategory
varchar(15)
False
False
False
 
An indication of the type of Compensation, this includes salary, benefit, deduction and tax categories.
CompensationType
varchar(50)
False
False
False
 
Descriptive name for the Compensation component, used by the Human Resouces department.
CompensationTypeAK
varchar(8)
False
False
False
 
Business key for the CompensationType this will contain the Compensation Type code.
CompensationTypeCode
varchar(8)
False
False
False
 
Compensation type identifier assigned by the source application and used by the Data Warehouse as the Business Key.
In Primary Key
CompensationTypeSK
int(10, 0)
False
False
False
(1 / 1)
Surrogate primary key
RowEndDate
datetime(23, 3)
False
False
False
 
('12/31/9999')
When did this row become invalid? (12/31/9999 if current row)
RowIsCurrent
nchar(1)
False
False
False
 
Is this the current row for this member (Y/N)?
RowStartDate
datetime(23, 3)
False
False
False
 
When did this row become valid for this member?
  Triggers
Name Insert Update Delete Instead
  Indexes
Name Clustered Columns
True
CompensationTypeSK
  Foreign Key Constraints
Name Columns Referenced Table Referenced Columns Checked
  Check Constraints
Name Text Checked
  Parent Dependencies (objects that dbo.DimCompensationType depends on)
Name Type
Table
Table
  Child Dependencies (objects that depend on dbo.DimCompensationType)
Name Type
TABLE
TABLE
  Extended Properties
Object Property Value
DimCompensationType
Display Name
BdgtCmpntType
DimCompensationType
Table MSDescription
The dimension will contain one row per salary, benefits, deductions and tax types.
DimCompensationType
Table Type
Dimension
CompensationCategory
MS_Description
An indication of the type of Compensation, this includes salary, benefit, deduction and tax categories.
CompensationType
MS_Description
Descriptive name for the Compensation component, used by the Human Resouces department.
CompensationTypeAK
MS_Description
Business key for the CompensationType this will contain the Compensation Type code.
CompensationTypeCode
MS_Description
Compensation type identifier assigned by the source application and used by the Data Warehouse as the Business Key.
CompensationTypeSK
MS_Description
Surrogate primary key
RowEndDate
MS_Description
When did this row become invalid? (12/31/9999 if current row)
RowIsCurrent
MS_Description
Is this the current row for this member (Y/N)?
RowStartDate
MS_Description
When did this row become valid for this member?
   Annotations
Object Property Value
  DDL
/****** Object: Table [dbo].[DimCompensationType] Script Date: 03/09/2017 17:14:54 ******/
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
CREATE TABLE [dbo].[DimCompensationType](
    [CompensationTypeSK] [int] IDENTITY(1,1) NOT NULL,
    [CompensationTypeAK] [varchar](8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [CompensationCategory] [varchar](15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [CompensationTypeCode] [varchar](8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [CompensationType] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [RowIsCurrent] [nchar](1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
    [RowStartDate] [datetime] NOT NULL,
    [RowEndDate] [datetime] NOT NULL,
 CONSTRAINT [PK_dbo.DimCompensationType] PRIMARY KEY CLUSTERED 
(
    [CompensationTypeSK] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
ALTER TABLE [dbo].[DimCompensationType] ADD  DEFAULT ('12/31/9999') FOR [RowEndDate]


EXEC sys.sp_addextendedproperty @name=N'Display Name', @value=N'BdgtCmpntType' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType'


EXEC sys.sp_addextendedproperty @name=N'Table MSDescription', @value=N'The dimension will contain one row per salary, benefits, deductions and tax types.' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType'


EXEC sys.sp_addextendedproperty @name=N'Table Type', @value=N'Dimension' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType'


EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'An indication of the type of Compensation, this includes salary, benefit, deduction and tax categories.' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType', @level2type=N'COLUMN',@level2name=N'CompensationCategory'


EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Descriptive name for the Compensation component, used by the Human Resouces department.' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType', @level2type=N'COLUMN',@level2name=N'CompensationType'


EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Business key for the CompensationType this will contain the Compensation Type code.' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType', @level2type=N'COLUMN',@level2name=N'CompensationTypeAK'


EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Compensation type identifier assigned by the source application and used by the Data Warehouse as the Business Key.' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType', @level2type=N'COLUMN',@level2name=N'CompensationTypeCode'


EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Surrogate primary key' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType', @level2type=N'COLUMN',@level2name=N'CompensationTypeSK'


EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'When did this row become invalid? (12/31/9999 if current row)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType', @level2type=N'COLUMN',@level2name=N'RowEndDate'


EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Is this the current row for this member (Y/N)?' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType', @level2type=N'COLUMN',@level2name=N'RowIsCurrent'


EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'When did this row become valid for this member?' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DimCompensationType', @level2type=N'COLUMN',@level2name=N'RowStartDate'
  Sample Data
CompensationCategory CompensationType CompensationTypeAK CompensationTypeCode CompensationTypeSK RowEndDate RowIsCurrent RowStartDate
Benefit Employee Assistance Program EMPASST EMPASST 26 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Benefit Sr.Mang.Children Pd./College HMOSRCH HMOSRCH 49 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Benefit Sr.Manag.Hmo Family Pd./College HMOSRFM HMOSRFM 50 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Benefit Frs/Senior Mangement Class FLRETHM FLRETHM 31 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Deduction Miscellaneous Deductions MISC MISC 78 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Benefit Life Insurance/College's Portion LIFE LIFE 71 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Benefit Ppo Barg Unit Employee Only/Pd By Coll HTHPBUEO HTHPBUEO 65 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Deduction Medical Reimbursement MED-REIM MED-REIM 76 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Benefit Frs Investment Plan/Regular PA PA 81 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Benefit Sr.Man.Family Dental Hmo Pd By College DTLSRFM DTLSRFM 20 9999-12-31T23:59:00-05:00 Y 2017-03-09T12:11:00-05:00
Powered by BI Documenter