Tables [dbo].[InternationalTransportationMode]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)5
Created10:12:49 PM Thursday, December 28, 2006
Last Modified9:08:24 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_InternationalTransportationMode: InternationalTransportationModeIDInternationalTransportationModeIDint4
No
1 - 1
Foreign Keys FK_InternationalTransportationMode_InternationalTransportationType: [dbo].[InternationalTransportationType].InternationalTransportationTypeFIDInternationalTransportationTypeFIDint4
No
VanlineCodevarchar(16)16
Yes
Cluster Key IX_InternationalTransportationMode_Description: DescriptionDescriptionvarchar(128)128
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_InternationalTransportationMode: InternationalTransportationModeIDPK_InternationalTransportationModeInternationalTransportationModeID
Yes
80
Cluster Key IX_InternationalTransportationMode_Description: DescriptionIX_InternationalTransportationMode_DescriptionDescription
Yes
Foreign Keys Foreign Keys
NameColumns
FK_InternationalTransportationMode_InternationalTransportationTypeInternationalTransportationTypeFID->[dbo].[InternationalTransportationType].[InternationalTransportationTypeID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[InternationalTransportationMode]
(
[InternationalTransportationModeID] [int] NOT NULL IDENTITY(1, 1),
[InternationalTransportationTypeFID] [int] NOT NULL,
[VanlineCode] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Description] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InternationalTransportationMode] ADD CONSTRAINT [PK_InternationalTransportationMode] PRIMARY KEY NONCLUSTERED  ([InternationalTransportationModeID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InternationalTransportationMode] ADD CONSTRAINT [IX_InternationalTransportationMode_Description] UNIQUE CLUSTERED  ([Description]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InternationalTransportationMode] ADD CONSTRAINT [FK_InternationalTransportationMode_InternationalTransportationType] FOREIGN KEY ([InternationalTransportationTypeFID]) REFERENCES [dbo].[InternationalTransportationType] ([InternationalTransportationTypeID])
GO
GRANT SELECT ON  [dbo].[InternationalTransportationMode] TO [MssExec]
GRANT INSERT ON  [dbo].[InternationalTransportationMode] TO [MssExec]
GRANT DELETE ON  [dbo].[InternationalTransportationMode] TO [MssExec]
GRANT UPDATE ON  [dbo].[InternationalTransportationMode] TO [MssExec]
GO
Uses
Used By