Tables [dbo].[CollabResponseGroupJoin]
Properties
PropertyValue
Row Count8
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_collabrespgroupjoin: responseID\groupIDForeign Keys fk_collabrespgroupjoin_resp: [dbo].[CollabResponses].responseIDresponseIDint4
No
Cluster Primary Key pk_collabrespgroupjoin: responseID\groupIDForeign Keys fk_collabrespgroupjoin_group: [dbo].[CollabResponseGroups].groupIDgroupIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_collabrespgroupjoin: responseID\groupIDpk_collabrespgroupjoinresponseID, groupID
Yes
Foreign Keys Foreign Keys
NameColumns
fk_collabrespgroupjoin_groupgroupID->[dbo].[CollabResponseGroups].[groupID]
fk_collabrespgroupjoin_respresponseID->[dbo].[CollabResponses].[responseID]
SQL Script
CREATE TABLE [dbo].[CollabResponseGroupJoin]
(
[responseID] [int] NOT NULL,
[groupID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CollabResponseGroupJoin] ADD CONSTRAINT [pk_collabrespgroupjoin] PRIMARY KEY CLUSTERED ([responseID], [groupID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CollabResponseGroupJoin] ADD CONSTRAINT [fk_collabrespgroupjoin_group] FOREIGN KEY ([groupID]) REFERENCES [dbo].[CollabResponseGroups] ([groupID])
GO
ALTER TABLE [dbo].[CollabResponseGroupJoin] ADD CONSTRAINT [fk_collabrespgroupjoin_resp] FOREIGN KEY ([responseID]) REFERENCES [dbo].[CollabResponses] ([responseID])
GO
Uses