Tables [dbo].[MilitaryCarrier]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)928
Created10:11:25 PM Wednesday, October 25, 2006
Last Modified7:36:21 PM Wednesday, February 28, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_MilitaryCarrier: MilitaryCarrierIDMilitaryCarrierIDint4
No
1 - 1
Indexes IX_MilitaryCarrier_Name_SCACNumber: Name\SCACNumberIndexes IX_MilitaryCarrier_SCACNumber_Name: SCACNumber\NameNamevarchar(64)64
No
Contactvarchar(32)32
Yes
EMailvarchar(128)128
Yes
FederalIDNumbervarchar(16)16
Yes
DunsNumbervarchar(16)16
Yes
Indexes IX_MilitaryCarrier_Name_SCACNumber: Name\SCACNumberIndexes IX_MilitaryCarrier_SCACNumber_Name: SCACNumber\NameSCACNumbervarchar(4)4
Yes
Foreign Keys FK_MilitaryCarrier_Branch: [dbo].[Branch].BranchFIDBranchFIDint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_MilitaryCarrier: MilitaryCarrierIDPK_MilitaryCarrierMilitaryCarrierID
Yes
80
IX_MilitaryCarrier_Name_SCACNumberName, SCACNumber
IX_MilitaryCarrier_SCACNumber_NameSCACNumber, Name
Foreign Keys Foreign Keys
NameColumns
FK_MilitaryCarrier_BranchBranchFID->[dbo].[Branch].[BranchPriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[MilitaryCarrier]
(
[MilitaryCarrierID] [int] NOT NULL IDENTITY(1, 1),
[Name] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Contact] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[EMail] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[FederalIDNumber] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DunsNumber] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SCACNumber] [varchar] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[BranchFID] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MilitaryCarrier] ADD CONSTRAINT [PK_MilitaryCarrier] PRIMARY KEY CLUSTERED  ([MilitaryCarrierID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_MilitaryCarrier_Name_SCACNumber] ON [dbo].[MilitaryCarrier] ([Name], [SCACNumber]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_MilitaryCarrier_SCACNumber_Name] ON [dbo].[MilitaryCarrier] ([SCACNumber], [Name]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MilitaryCarrier] ADD CONSTRAINT [FK_MilitaryCarrier_Branch] FOREIGN KEY ([BranchFID]) REFERENCES [dbo].[Branch] ([BranchPriKey])
GO
GRANT SELECT ON  [dbo].[MilitaryCarrier] TO [MssExec]
GRANT INSERT ON  [dbo].[MilitaryCarrier] TO [MssExec]
GRANT DELETE ON  [dbo].[MilitaryCarrier] TO [MssExec]
GRANT UPDATE ON  [dbo].[MilitaryCarrier] TO [MssExec]
GO
Uses
Used By