Tables [dbo].[usm_link_scope_layout]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
Row Count102
Created11:08:05 AM Wednesday, March 07, 2007
Last Modified1:17:01 PM Tuesday, March 30, 2010
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKusm_link_scope_layout: scope_id\report_layout_idForeign Keys $usm_l_r0000258b00000000: [dbo].[usm_scope].scope_idscope_idint4
No
Cluster Primary Key XPKusm_link_scope_layout: scope_id\report_layout_idForeign Keys $usm_l_r0000258100000000: [dbo].[usm_report_layout].report_layout_idreport_layout_idvarchar(128)128
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKusm_link_scope_layout: scope_id\report_layout_idXPKusm_link_scope_layoutscope_id, report_layout_id
Yes
Foreign Keys Foreign Keys
NameColumns
$usm_l_r0000258100000000report_layout_id->[dbo].[usm_report_layout].[report_layout_id]
$usm_l_r0000258b00000000scope_id->[dbo].[usm_scope].[scope_id]
Permissions
TypeActionOwning Principal
GrantDeleteusmgroup
GrantInsertusmgroup
GrantSelectusmgroup
GrantUpdateusmgroup
SQL Script
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
Uses