Tables [cohesion].[cc_host_map]
Properties
PropertyValue
Row Count208
Created11:18:10 AM Friday, April 20, 2007
Last Modified11:18:10 AM Friday, April 20, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK__cc_host_map__49C3F6B7: host_map_idhost_map_idint4
No
Foreign Keys FK__cc_host_m__host___4CA06362: [cohesion].[cc_host].host_idIndexes XAK1cc_host_map: host_id\host_group_id\host_type_idhost_idint4
Yes
Foreign Keys FK__cc_host_m__host___4AB81AF0: [cohesion].[cc_host_group].host_group_idIndexes XAK1cc_host_map: host_id\host_group_id\host_type_idhost_group_idint4
Yes
Foreign Keys FK__cc_host_m__host___4BAC3F29: [cohesion].[cc_host_type].host_type_idIndexes XAK1cc_host_map: host_id\host_group_id\host_type_idhost_type_idint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK__cc_host_map__49C3F6B7: host_map_idPK__cc_host_map__49C3F6B7host_map_id
Yes
XAK1cc_host_maphost_id, host_group_id, host_type_id
Yes
Foreign Keys Foreign Keys
NameColumns
FK__cc_host_m__host___4AB81AF0host_group_id->[cohesion].[cc_host_group].[host_group_id]
FK__cc_host_m__host___4BAC3F29host_type_id->[cohesion].[cc_host_type].[host_type_id]
FK__cc_host_m__host___4CA06362host_id->[cohesion].[cc_host].[host_id]
SQL Script
CREATE TABLE [cohesion].[cc_host_map]
(
[host_map_id] [int] NOT NULL,
[host_id] [int] NULL,
[host_group_id] [int] NULL,
[host_type_id] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [cohesion].[cc_host_map] ADD CONSTRAINT [PK__cc_host_map__49C3F6B7] PRIMARY KEY CLUSTERED ([host_map_id]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [XAK1cc_host_map] ON [cohesion].[cc_host_map] ([host_id], [host_group_id], [host_type_id]) ON [PRIMARY]
GO
ALTER TABLE [cohesion].[cc_host_map] ADD CONSTRAINT [FK__cc_host_m__host___4AB81AF0] FOREIGN KEY ([host_group_id]) REFERENCES [cohesion].[cc_host_group] ([host_group_id])
GO
ALTER TABLE [cohesion].[cc_host_map] ADD CONSTRAINT [FK__cc_host_m__host___4BAC3F29] FOREIGN KEY ([host_type_id]) REFERENCES [cohesion].[cc_host_type] ([host_type_id])
GO
ALTER TABLE [cohesion].[cc_host_map] ADD CONSTRAINT [FK__cc_host_m__host___4CA06362] FOREIGN KEY ([host_id]) REFERENCES [cohesion].[cc_host] ([host_id])
GO
Uses