Tables [dbo].[usm_link_service_event_metr_in]
Properties
PropertyValue
Row Count0
Created12:31:31 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_link_service_event_metr_in: service_event_id\metric_instance_idForeign Keys $usm_l_r000025b300000000: [dbo].[usm_service_event].service_event_idservice_event_idint4
No
Cluster Primary Key XPKusm_link_service_event_metr_in: service_event_id\metric_instance_idForeign Keys $usm_l_r000025a900000000: [dbo].[usm_metric_instance].metric_instance_idmetric_instance_idint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKusm_link_service_event_metr_in: service_event_id\metric_instance_idXPKusm_link_service_event_metr_inservice_event_id, metric_instance_id
Yes
Foreign Keys Foreign Keys
NameColumns
$usm_l_r000025a900000000metric_instance_id->[dbo].[usm_metric_instance].[metric_instance_id]
$usm_l_r000025b300000000service_event_id->[dbo].[usm_service_event].[service_event_id]
Permissions
TypeActionOwning Principal
GrantDeleteusmgroup
GrantInsertusmgroup
GrantSelectusmgroup
GrantUpdateusmgroup
SQL Script
CREATE TABLE [dbo].[usm_link_service_event_metr_in]
(
[service_event_id] [int] NOT NULL,
[metric_instance_id] [int] NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[usm_link_service_event_metr_in] ADD CONSTRAINT [XPKusm_link_service_event_metr_in] PRIMARY KEY CLUSTERED ([service_event_id], [metric_instance_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_link_service_event_metr_in] ADD CONSTRAINT [$usm_l_r000025a900000000] FOREIGN KEY ([metric_instance_id]) REFERENCES [dbo].[usm_metric_instance] ([metric_instance_id])
GO
ALTER TABLE [dbo].[usm_link_service_event_metr_in] ADD CONSTRAINT [$usm_l_r000025b300000000] FOREIGN KEY ([service_event_id]) REFERENCES [dbo].[usm_service_event] ([service_event_id])
GO
GRANT SELECT ON  [dbo].[usm_link_service_event_metr_in] TO [usmgroup]
GRANT INSERT ON  [dbo].[usm_link_service_event_metr_in] TO [usmgroup]
GRANT DELETE ON  [dbo].[usm_link_service_event_metr_in] TO [usmgroup]
GRANT UPDATE ON  [dbo].[usm_link_service_event_metr_in] TO [usmgroup]
GO
Uses