
[dbo].[usm_link_schema_component]
CREATE TABLE [dbo].[usm_link_schema_component]
(
[smcomponent_id] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[schema_comp_id] [int] NULL,
[schema_id] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_link_schema_component] ADD CONSTRAINT [XPKusm_link_schema_component] PRIMARY KEY CLUSTERED ([smcomponent_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_link_schema_component] ADD CONSTRAINT [$usm_l_r0000253100000000] FOREIGN KEY ([schema_id]) REFERENCES [dbo].[usm_schema] ([schema_id])
GO
ALTER TABLE [dbo].[usm_link_schema_component] ADD CONSTRAINT [$usm_l_r0000253b00000000] FOREIGN KEY ([schema_comp_id]) REFERENCES [dbo].[usm_schema_comp] ([schema_comp_id])
GO
GRANT SELECT ON [dbo].[usm_link_schema_component] TO [usmgroup]
GRANT INSERT ON [dbo].[usm_link_schema_component] TO [usmgroup]
GRANT DELETE ON [dbo].[usm_link_schema_component] TO [usmgroup]
GRANT UPDATE ON [dbo].[usm_link_schema_component] TO [usmgroup]
GO