Tables [dbo].[ShAttributeGroups]
PropertyValue
Row Count (~)0
Created1:00:42 AM Thursday, March 21, 2019
Last Modified1:15:32 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_SHAttributeGroups: ShAttributeGroupIDShAttributeGroupIDint4
False
1 - 1
Foreign Keys FK_ShAttributeGroups_ShTrackingGroupID_ShTrackingGroups: [dbo].[ShTrackingGroups].ShTrackingGroupIDShTrackingGroupIDint4
False
Foreign Keys FK_ShAttributeGroups_ShAttributeID_ShAttributes: [dbo].[ShAttributes].ShAttributeIDShAttributeIDint4
False
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_SHAttributeGroups: ShAttributeGroupIDPK_SHAttributeGroupsShAttributeGroupID
True
80
NameColumns
FK_ShAttributeGroups_ShAttributeID_ShAttributesShAttributeID->[dbo].[ShAttributes].[ShAttributeID]
FK_ShAttributeGroups_ShTrackingGroupID_ShTrackingGroupsShTrackingGroupID->[dbo].[ShTrackingGroups].[ShTrackingGroupID]
CREATE TABLE [dbo].[ShAttributeGroups]
(
[ShAttributeGroupID] [int] NOT NULL IDENTITY(1, 1),
[ShTrackingGroupID] [int] NOT NULL,
[ShAttributeID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShAttributeGroups] ADD CONSTRAINT [PK_SHAttributeGroups] PRIMARY KEY CLUSTERED  ([ShAttributeGroupID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShAttributeGroups] ADD CONSTRAINT [FK_ShAttributeGroups_ShAttributeID_ShAttributes] FOREIGN KEY ([ShAttributeID]) REFERENCES [dbo].[ShAttributes] ([ShAttributeID])
GO
ALTER TABLE [dbo].[ShAttributeGroups] ADD CONSTRAINT [FK_ShAttributeGroups_ShTrackingGroupID_ShTrackingGroups] FOREIGN KEY ([ShTrackingGroupID]) REFERENCES [dbo].[ShTrackingGroups] ([ShTrackingGroupID])
GO