Tables [dbo].[ContainerType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)3
Created10:56:42 AM Monday, May 4, 2015
Last Modified9:18:55 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_ContainerType: ContainerTypeIDContainerTypeIDint4
No
1 - 1
Indexes IX_ContainerType_Description: DescriptionDescriptionvarchar(32)32
No
Lengthdecimal(10,2)9
Yes
Widthdecimal(10,2)9
Yes
Heightdecimal(10,2)9
Yes
TareWeightint4
Yes
Indexes Indexes
NameColumnsUnique
Primary Key PK_ContainerType: ContainerTypeIDPK_ContainerTypeContainerTypeID
Yes
IX_ContainerType_DescriptionDescription
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ContainerType]
(
[ContainerTypeID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Length] [decimal] (10, 2) NULL,
[Width] [decimal] (10, 2) NULL,
[Height] [decimal] (10, 2) NULL,
[TareWeight] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ContainerType] ADD CONSTRAINT [PK_ContainerType] PRIMARY KEY NONCLUSTERED  ([ContainerTypeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ContainerType] ADD CONSTRAINT [IX_ContainerType_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[ContainerType] TO [MssExec]
GRANT INSERT ON  [dbo].[ContainerType] TO [MssExec]
GRANT DELETE ON  [dbo].[ContainerType] TO [MssExec]
GRANT UPDATE ON  [dbo].[ContainerType] TO [MssExec]
GO
Uses
Used By