Tables [dbo].[CollabDivResponseGroupJoin]
Properties
PropertyValue
Row Count3
Created12:44:45 PM Thursday, October 04, 2007
Last Modified12:44:45 PM Thursday, October 04, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key pk_collabdivrespgroupjoin: divisionID\groupIDForeign Keys fk_collabdivrespgroupjoin_div: [dbo].[Divisions].divisionIDdivisionIDint4
No
Cluster Primary Key pk_collabdivrespgroupjoin: divisionID\groupIDForeign Keys fk_collabdivrespgroupjoin_grp: [dbo].[CollabResponseGroups].groupIDgroupIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_collabdivrespgroupjoin: divisionID\groupIDpk_collabdivrespgroupjoindivisionID, groupID
Yes
Foreign Keys Foreign Keys
NameColumns
fk_collabdivrespgroupjoin_divdivisionID->[dbo].[Divisions].[divisionID]
fk_collabdivrespgroupjoin_grpgroupID->[dbo].[CollabResponseGroups].[groupID]
SQL Script
CREATE TABLE [dbo].[CollabDivResponseGroupJoin]
(
[divisionID] [int] NOT NULL,
[groupID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CollabDivResponseGroupJoin] ADD CONSTRAINT [pk_collabdivrespgroupjoin] PRIMARY KEY CLUSTERED ([divisionID], [groupID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CollabDivResponseGroupJoin] ADD CONSTRAINT [fk_collabdivrespgroupjoin_div] FOREIGN KEY ([divisionID]) REFERENCES [dbo].[Divisions] ([divisionID])
GO
ALTER TABLE [dbo].[CollabDivResponseGroupJoin] ADD CONSTRAINT [fk_collabdivrespgroupjoin_grp] FOREIGN KEY ([groupID]) REFERENCES [dbo].[CollabResponseGroups] ([groupID])
GO
Uses