Tables [dbo].[usm_slo_template_sla_config]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
Row Count0
Created12:31:36 PM Sunday, December 05, 2010
Last Modified5:02:32 PM Monday, April 25, 2011
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKusm_slo_template_sla_config: slo_template_id\sla_config_id\aggregation_typeForeign Keys $usm_s_r00002bc100000000: [dbo].[usm_slo_template].slo_template_idForeign Keys $usm_s_r0000305300000000: [dbo].[usm_slo_template].slo_template_idslo_template_idint4
No
Cluster Primary Key XPKusm_slo_template_sla_config: slo_template_id\sla_config_id\aggregation_typeForeign Keys $usm_s_r00002bb700000000: [dbo].[usm_sla_config].sla_config_idsla_config_idvarchar(50)50
No
Cluster Primary Key XPKusm_slo_template_sla_config: slo_template_id\sla_config_id\aggregation_typeaggregation_typeint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKusm_slo_template_sla_config: slo_template_id\sla_config_id\aggregation_typeXPKusm_slo_template_sla_configslo_template_id, sla_config_id, aggregation_type
Yes
Foreign Keys Foreign Keys
NameColumns
$usm_s_r00002bb700000000sla_config_id->[dbo].[usm_sla_config].[sla_config_id]
$usm_s_r00002bc100000000slo_template_id->[dbo].[usm_slo_template].[slo_template_id]
$usm_s_r0000305300000000slo_template_id->[dbo].[usm_slo_template].[slo_template_id]
Permissions
TypeActionOwning Principal
GrantDeleteusmgroup
GrantInsertusmgroup
GrantSelectusmgroup
GrantUpdateusmgroup
SQL Script
CREATE TABLE [dbo].[usm_slo_template_sla_config]
(
[slo_template_id] [int] NOT NULL,
[sla_config_id] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[aggregation_type] [int] NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[usm_slo_template_sla_config] ADD CONSTRAINT [XPKusm_slo_template_sla_config] PRIMARY KEY CLUSTERED ([slo_template_id], [sla_config_id], [aggregation_type]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_slo_template_sla_config] ADD CONSTRAINT [$usm_s_r00002bb700000000] FOREIGN KEY ([sla_config_id]) REFERENCES [dbo].[usm_sla_config] ([sla_config_id])
GO
ALTER TABLE [dbo].[usm_slo_template_sla_config] ADD CONSTRAINT [$usm_s_r00002bc100000000] FOREIGN KEY ([slo_template_id]) REFERENCES [dbo].[usm_slo_template] ([slo_template_id])
GO
ALTER TABLE [dbo].[usm_slo_template_sla_config] ADD CONSTRAINT [$usm_s_r0000305300000000] FOREIGN KEY ([slo_template_id]) REFERENCES [dbo].[usm_slo_template] ([slo_template_id])
GO
GRANT SELECT ON  [dbo].[usm_slo_template_sla_config] TO [usmgroup]
GRANT INSERT ON  [dbo].[usm_slo_template_sla_config] TO [usmgroup]
GRANT DELETE ON  [dbo].[usm_slo_template_sla_config] TO [usmgroup]
GRANT UPDATE ON  [dbo].[usm_slo_template_sla_config] TO [usmgroup]
GO
Uses