
[dbo].[usm_collection_profile_attrs]
CREATE TABLE [dbo].[usm_collection_profile_attrs]
(
[collection_profile_metric_id] [int] NOT NULL,
[metric_attr_spec_id] [int] NOT NULL,
[value] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CS_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_collection_profile_attrs] ADD CONSTRAINT [XPKusm_collection_profile_attrs] PRIMARY KEY CLUSTERED ([collection_profile_metric_id], [metric_attr_spec_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_collection_profile_attrs] ADD CONSTRAINT [$usm_c_r0000212b00000000] FOREIGN KEY ([metric_attr_spec_id]) REFERENCES [dbo].[usm_metric_attr_spec] ([metric_attr_spec_id])
GO
ALTER TABLE [dbo].[usm_collection_profile_attrs] ADD CONSTRAINT [$usm_c_r0000213500000000] FOREIGN KEY ([collection_profile_metric_id]) REFERENCES [dbo].[usm_collection_profile_metric] ([collection_profile_metric_id])
GO
GRANT SELECT ON [dbo].[usm_collection_profile_attrs] TO [usmgroup]
GRANT INSERT ON [dbo].[usm_collection_profile_attrs] TO [usmgroup]
GRANT DELETE ON [dbo].[usm_collection_profile_attrs] TO [usmgroup]
GRANT UPDATE ON [dbo].[usm_collection_profile_attrs] TO [usmgroup]
GO