Tables [dbo].[CollabAgentResponseGroupJoin]
Properties
PropertyValue
Row Count0
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_collabagentrespgroupjoin: userID\groupIDForeign Keys fk_collabagentrespgroupjoin_user: [dbo].[Users].userIDuserIDint4
No
Cluster Primary Key pk_collabagentrespgroupjoin: userID\groupIDForeign Keys fk_collabagentrespgroupjoin_grp: [dbo].[CollabResponseGroups].groupIDgroupIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_collabagentrespgroupjoin: userID\groupIDpk_collabagentrespgroupjoinuserID, groupID
Yes
Foreign Keys Foreign Keys
NameColumns
fk_collabagentrespgroupjoin_grpgroupID->[dbo].[CollabResponseGroups].[groupID]
fk_collabagentrespgroupjoin_useruserID->[dbo].[Users].[userID]
SQL Script
CREATE TABLE [dbo].[CollabAgentResponseGroupJoin]
(
[userID] [int] NOT NULL,
[groupID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CollabAgentResponseGroupJoin] ADD CONSTRAINT [pk_collabagentrespgroupjoin] PRIMARY KEY CLUSTERED ([userID], [groupID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CollabAgentResponseGroupJoin] ADD CONSTRAINT [fk_collabagentrespgroupjoin_grp] FOREIGN KEY ([groupID]) REFERENCES [dbo].[CollabResponseGroups] ([groupID])
GO
ALTER TABLE [dbo].[CollabAgentResponseGroupJoin] ADD CONSTRAINT [fk_collabagentrespgroupjoin_user] FOREIGN KEY ([userID]) REFERENCES [dbo].[Users] ([userID])
GO
Uses