Tables [dbo].[InternationalLiftVan]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created10:12:49 PM Thursday, December 28, 2006
Last Modified9:06:54 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_InternationalLiftVan: InternationalLiftVanIDInternationalLiftVanIDint4
No
1 - 1
Foreign Keys FK_InternationalLiftVan_Orders: [dbo].[Orders].OrdersFIDIndexes IX_InternationalLiftVan_OrdersFID: OrdersFIDOrdersFIDint4
No
Foreign Keys FK_InternationalLiftVan_InternationalContainer: [dbo].[InternationalContainer].InternationalContainerFIDInternationalContainerFIDint4
Yes
Foreign Keys FK_InternationalLiftVan_InternationalLiftVanStatus: [dbo].[InternationalLiftVanStatus].InternationalLiftVanStatusFIDInternationalLiftVanStatusFIDint4
Yes
LiftVanNumbervarchar(32)32
No
Piecesint4
Yes
GrossWeightint4
Yes
TareWeightint4
Yes
NetWeightint4
Yes
SealNumbervarchar(32)32
Yes
CubicFeetint4
Yes
Lengthint4
Yes
Widthint4
Yes
Heightint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_InternationalLiftVan: InternationalLiftVanIDPK_InternationalLiftVanInternationalLiftVanID
Yes
80
IX_InternationalLiftVan_OrdersFIDOrdersFID
Foreign Keys Foreign Keys
NameColumns
FK_InternationalLiftVan_InternationalContainerInternationalContainerFID->[dbo].[InternationalContainer].[InternationalContainerID]
FK_InternationalLiftVan_InternationalLiftVanStatusInternationalLiftVanStatusFID->[dbo].[InternationalLiftVanStatus].[InternationalLiftVanStatusID]
FK_InternationalLiftVan_OrdersOrdersFID->[dbo].[Orders].[PriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[InternationalLiftVan]
(
[InternationalLiftVanID] [int] NOT NULL IDENTITY(1, 1),
[OrdersFID] [int] NOT NULL,
[InternationalContainerFID] [int] NULL,
[InternationalLiftVanStatusFID] [int] NULL,
[LiftVanNumber] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Pieces] [int] NULL,
[GrossWeight] [int] NULL,
[TareWeight] [int] NULL,
[NetWeight] [int] NULL,
[SealNumber] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CubicFeet] [int] NULL,
[Length] [int] NULL,
[Width] [int] NULL,
[Height] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InternationalLiftVan] ADD CONSTRAINT [PK_InternationalLiftVan] PRIMARY KEY NONCLUSTERED  ([InternationalLiftVanID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_InternationalLiftVan_OrdersFID] ON [dbo].[InternationalLiftVan] ([OrdersFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InternationalLiftVan] ADD CONSTRAINT [FK_InternationalLiftVan_InternationalContainer] FOREIGN KEY ([InternationalContainerFID]) REFERENCES [dbo].[InternationalContainer] ([InternationalContainerID])
GO
ALTER TABLE [dbo].[InternationalLiftVan] ADD CONSTRAINT [FK_InternationalLiftVan_InternationalLiftVanStatus] FOREIGN KEY ([InternationalLiftVanStatusFID]) REFERENCES [dbo].[InternationalLiftVanStatus] ([InternationalLiftVanStatusID])
GO
ALTER TABLE [dbo].[InternationalLiftVan] ADD CONSTRAINT [FK_InternationalLiftVan_Orders] FOREIGN KEY ([OrdersFID]) REFERENCES [dbo].[Orders] ([PriKey])
GO
GRANT SELECT ON  [dbo].[InternationalLiftVan] TO [MssExec]
GRANT INSERT ON  [dbo].[InternationalLiftVan] TO [MssExec]
GRANT DELETE ON  [dbo].[InternationalLiftVan] TO [MssExec]
GRANT UPDATE ON  [dbo].[InternationalLiftVan] TO [MssExec]
GO
Uses