Tables [dbo].[ShTrackingConfigAttributes]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:56:04 AM Thursday, March 21, 2019
Last Modified1:15:34 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_ShTrackingConfigAttributes: ShTrackingConfigAttributeIDShTrackingConfigAttributeIDint4
False
1 - 1
Foreign Keys FK_ShTrackingConfigAttributes_ShTrackingConfigEntryTypeID_ShTrackingConfigEntryTypes: [dbo].[ShTrackingConfigEntryTypes].ShTrackingConfigEntryTypeIDShTrackingConfigEntryTypeIDint4
False
Foreign Keys FK_ShTrackingConfigAttributes_ShAttributeID_ShAttributes: [dbo].[ShAttributes].ShAttributeIDShAttributeIDint4
False
DefaultValuevarchar(1024)1024
True
Hiddenbit1
False
((0))
Requiredbit1
False
((0))
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_ShTrackingConfigAttributes: ShTrackingConfigAttributeIDPK_ShTrackingConfigAttributesShTrackingConfigAttributeID
True
80
NameColumns
FK_ShTrackingConfigAttributes_ShAttributeID_ShAttributesShAttributeID->[dbo].[ShAttributes].[ShAttributeID]
FK_ShTrackingConfigAttributes_ShTrackingConfigEntryTypeID_ShTrackingConfigEntryTypesShTrackingConfigEntryTypeID->[dbo].[ShTrackingConfigEntryTypes].[ShTrackingConfigEntryTypeID]
CREATE TABLE [dbo].[ShTrackingConfigAttributes]
(
[ShTrackingConfigAttributeID] [int] NOT NULL IDENTITY(1, 1),
[ShTrackingConfigEntryTypeID] [int] NOT NULL,
[ShAttributeID] [int] NOT NULL,
[DefaultValue] [varchar] (1024) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Hidden] [bit] NOT NULL CONSTRAINT [DF_ShTrackingConfigAttributes_Hidden] DEFAULT ((0)),
[Required] [bit] NOT NULL CONSTRAINT [DF_ShTrackingConfigAttributes_Required] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShTrackingConfigAttributes] ADD CONSTRAINT [PK_ShTrackingConfigAttributes] PRIMARY KEY CLUSTERED  ([ShTrackingConfigAttributeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShTrackingConfigAttributes] ADD CONSTRAINT [FK_ShTrackingConfigAttributes_ShAttributeID_ShAttributes] FOREIGN KEY ([ShAttributeID]) REFERENCES [dbo].[ShAttributes] ([ShAttributeID])
GO
ALTER TABLE [dbo].[ShTrackingConfigAttributes] ADD CONSTRAINT [FK_ShTrackingConfigAttributes_ShTrackingConfigEntryTypeID_ShTrackingConfigEntryTypes] FOREIGN KEY ([ShTrackingConfigEntryTypeID]) REFERENCES [dbo].[ShTrackingConfigEntryTypes] ([ShTrackingConfigEntryTypeID])
GO