Tables [dbo].[MilitaryBase]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)203
Created4:57:09 PM Thursday, September 7, 2006
Last Modified9:09:28 AM Thursday, May 23, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_MilitaryBase: MilitaryBaseIDMilitaryBaseIDint4
No
1 - 1
Indexes IX_MilitaryBase_BaseCode: BaseName\BaseCodeIndexes IX_MilitaryBase_BaseName_BaseCode: BaseName\BaseCodeBaseCodevarchar(5)5
No
Indexes IX_MilitaryBase_BaseCode: BaseName\BaseCodeIndexes IX_MilitaryBase_BaseName_BaseCode: BaseName\BaseCodeBaseNamevarchar(32)32
No
TMOContactvarchar(32)32
Yes
EMailvarchar(128)128
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_MilitaryBase: MilitaryBaseIDPK_MilitaryBaseMilitaryBaseID
Yes
80
IX_MilitaryBase_BaseCodeBaseName, BaseCode
Yes
IX_MilitaryBase_BaseName_BaseCodeBaseName, BaseCode
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[MilitaryBase]
(
[MilitaryBaseID] [int] NOT NULL IDENTITY(1, 1),
[BaseCode] [varchar] (5) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[BaseName] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[TMOContact] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[EMail] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MilitaryBase] ADD CONSTRAINT [PK_MilitaryBase] PRIMARY KEY CLUSTERED  ([MilitaryBaseID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_MilitaryBase_BaseCode] ON [dbo].[MilitaryBase] ([BaseCode]) INCLUDE ([BaseName]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_MilitaryBase_BaseName_BaseCode] ON [dbo].[MilitaryBase] ([BaseName], [BaseCode]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[MilitaryBase] TO [MssExec]
GRANT INSERT ON  [dbo].[MilitaryBase] TO [MssExec]
GRANT DELETE ON  [dbo].[MilitaryBase] TO [MssExec]
GRANT UPDATE ON  [dbo].[MilitaryBase] TO [MssExec]
GO
Uses
Used By