Tables [dbo].[AdminFields]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created4:57:10 PM Thursday, September 7, 2006
Last Modified10:49:25 AM Thursday, April 21, 2011
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_AdminFields: AdFldsPriKeyAdFldsPriKeyint4
No
1 - 1
Cluster Key IX_AdminFields: TableName\FieldName\EnglishNameTableNamevarchar(128)128
No
Cluster Key IX_AdminFields: TableName\FieldName\EnglishNameFieldNamevarchar(50)50
No
Cluster Key IX_AdminFields: TableName\FieldName\EnglishNameEnglishNamevarchar(30)30
Yes
DependentFieldvarchar(50)50
Yes
DependentTablevarchar(50)50
Yes
DisplayFieldvarchar(50)50
Yes
DisplayOrdersmallint2
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_AdminFields: AdFldsPriKeyPK_AdminFieldsAdFldsPriKey
Yes
80
Cluster Key IX_AdminFields: TableName\FieldName\EnglishNameIX_AdminFieldsTableName, FieldName, EnglishName
Yes
80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AdminFields]
(
[AdFldsPriKey] [int] NOT NULL IDENTITY(1, 1),
[TableName] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[FieldName] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[EnglishName] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DependentField] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DependentTable] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DisplayField] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DisplayOrder] [smallint] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminFields] ADD CONSTRAINT [PK_AdminFields] PRIMARY KEY NONCLUSTERED  ([AdFldsPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdminFields] ADD CONSTRAINT [IX_AdminFields] UNIQUE CLUSTERED  ([TableName], [FieldName], [EnglishName]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[AdminFields] TO [MssExec]
GRANT INSERT ON  [dbo].[AdminFields] TO [MssExec]
GRANT DELETE ON  [dbo].[AdminFields] TO [MssExec]
GRANT UPDATE ON  [dbo].[AdminFields] TO [MssExec]
GO
Uses