Tables [dbo].[usm_form_component_attributes]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count4411
Created11:19:31 AM Monday, December 13, 2010
Last Modified5:02:31 PM Monday, April 25, 2011
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKusm_form_comp_attributes: form_comp_attr_idform_comp_attr_idbigint8
No
Foreign Keys XFK1usm_form_comp_attributes: [dbo].[usm_form_entities].form_comp_idIndexes usm_forrm_comp_attr_idx_1: form_comp_idform_comp_idbigint8
No
Indexes usm_forrm_comp_attr_idx_2: attr_name\attr_localeattr_localevarchar(8)8
No
Indexes usm_forrm_comp_attr_idx_2: attr_name\attr_localeattr_namevarchar(256)256
No
attr_valuenvarchar(2000)4000
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKusm_form_comp_attributes: form_comp_attr_idXPKusm_form_comp_attributesform_comp_attr_id
Yes
usm_forrm_comp_attr_idx_1form_comp_id
usm_forrm_comp_attr_idx_2attr_name, attr_locale
Foreign Keys Foreign Keys
NameColumns
XFK1usm_form_comp_attributesform_comp_id->[dbo].[usm_form_entities].[form_entity_id]
SQL Script
CREATE TABLE [dbo].[usm_form_component_attributes]
(
[form_comp_attr_id] [bigint] NOT NULL,
[form_comp_id] [bigint] NOT NULL,
[attr_locale] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[attr_name] [varchar] (256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[attr_value] [nvarchar] (2000) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[usm_form_component_attributes] ADD CONSTRAINT [XPKusm_form_comp_attributes] PRIMARY KEY CLUSTERED ([form_comp_attr_id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [usm_forrm_comp_attr_idx_2] ON [dbo].[usm_form_component_attributes] ([attr_name], [attr_locale]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [usm_forrm_comp_attr_idx_1] ON [dbo].[usm_form_component_attributes] ([form_comp_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_form_component_attributes] ADD CONSTRAINT [XFK1usm_form_comp_attributes] FOREIGN KEY ([form_comp_id]) REFERENCES [dbo].[usm_form_entities] ([form_entity_id])
GO
Uses