
[dbo].[usm_link_scope_layout]
CREATE TABLE [dbo].[usm_link_scope_layout]
(
[scope_id] [int] NOT NULL,
[report_layout_id] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_link_scope_layout] ADD CONSTRAINT [XPKusm_link_scope_layout] PRIMARY KEY CLUSTERED ([scope_id], [report_layout_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_link_scope_layout] ADD CONSTRAINT [$usm_l_r0000258100000000] FOREIGN KEY ([report_layout_id]) REFERENCES [dbo].[usm_report_layout] ([report_layout_id])
GO
ALTER TABLE [dbo].[usm_link_scope_layout] ADD CONSTRAINT [$usm_l_r0000258b00000000] FOREIGN KEY ([scope_id]) REFERENCES [dbo].[usm_scope] ([scope_id])
GO
GRANT SELECT ON [dbo].[usm_link_scope_layout] TO [usmgroup]
GRANT INSERT ON [dbo].[usm_link_scope_layout] TO [usmgroup]
GRANT DELETE ON [dbo].[usm_link_scope_layout] TO [usmgroup]
GRANT UPDATE ON [dbo].[usm_link_scope_layout] TO [usmgroup]
GO