Tables [dbo].[ShEntryTypeGroups]
PropertyValue
Row Count (~)0
Created1:00:42 AM Thursday, March 21, 2019
Last Modified1:15:33 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_ShEntryTypeGroups: ShEntryTypeGroupIDShEntryTypeGroupIDint4
False
1 - 1
Foreign Keys FK_ShEntryTypeGroups_ShTrackingGroupID_ShTrackingGroups: [dbo].[ShTrackingGroups].ShTrackingGroupIDShTrackingGroupIDint4
False
Foreign Keys FK_ShEntryTypeGroups_ShEntryTypeID_ShEntryTypes: [dbo].[ShEntryTypes].ShEntryTypeIDShEntryTypeIDint4
False
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_ShEntryTypeGroups: ShEntryTypeGroupIDPK_ShEntryTypeGroupsShEntryTypeGroupID
True
80
NameColumns
FK_ShEntryTypeGroups_ShEntryTypeID_ShEntryTypesShEntryTypeID->[dbo].[ShEntryTypes].[ShEntryTypeID]
FK_ShEntryTypeGroups_ShTrackingGroupID_ShTrackingGroupsShTrackingGroupID->[dbo].[ShTrackingGroups].[ShTrackingGroupID]
CREATE TABLE [dbo].[ShEntryTypeGroups]
(
[ShEntryTypeGroupID] [int] NOT NULL IDENTITY(1, 1),
[ShTrackingGroupID] [int] NOT NULL,
[ShEntryTypeID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShEntryTypeGroups] ADD CONSTRAINT [PK_ShEntryTypeGroups] PRIMARY KEY CLUSTERED  ([ShEntryTypeGroupID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShEntryTypeGroups] ADD CONSTRAINT [FK_ShEntryTypeGroups_ShEntryTypeID_ShEntryTypes] FOREIGN KEY ([ShEntryTypeID]) REFERENCES [dbo].[ShEntryTypes] ([ShEntryTypeID])
GO
ALTER TABLE [dbo].[ShEntryTypeGroups] ADD CONSTRAINT [FK_ShEntryTypeGroups_ShTrackingGroupID_ShTrackingGroups] FOREIGN KEY ([ShTrackingGroupID]) REFERENCES [dbo].[ShTrackingGroups] ([ShTrackingGroupID])
GO