Tables [dbo].[usm_link_schema_component]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
Row Count0
Created11:08:01 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_schema_component: smcomponent_idsmcomponent_idvarchar(50)50
No
Foreign Keys $usm_l_r0000253b00000000: [dbo].[usm_schema_comp].schema_comp_idschema_comp_idint4
Yes
Foreign Keys $usm_l_r0000253100000000: [dbo].[usm_schema].schema_idschema_idint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKusm_link_schema_component: smcomponent_idXPKusm_link_schema_componentsmcomponent_id
Yes
Foreign Keys Foreign Keys
NameColumns
$usm_l_r0000253100000000schema_id->[dbo].[usm_schema].[schema_id]
$usm_l_r0000253b00000000schema_comp_id->[dbo].[usm_schema_comp].[schema_comp_id]
Permissions
TypeActionOwning Principal
GrantDeleteusmgroup
GrantInsertusmgroup
GrantSelectusmgroup
GrantUpdateusmgroup
SQL Script
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
Uses
Used By