Tables [dbo].[CommodityDetail]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created10:03:29 AM Friday, December 7, 2018
Last Modified10:03:47 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_CommodityDetail: CommodityDetailIDCommodityDetailIDint4
No
1 - 1
Indexes IX_CommodityDetail_Description: DescriptionDescriptionvarchar(64)64
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_CommodityDetail: CommodityDetailIDPK_CommodityDetailCommodityDetailID
Yes
IX_CommodityDetail_DescriptionDescription
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[CommodityDetail]
(
[CommodityDetailID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CommodityDetail] ADD CONSTRAINT [PK_CommodityDetail] PRIMARY KEY CLUSTERED  ([CommodityDetailID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CommodityDetail] ADD CONSTRAINT [IX_CommodityDetail_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[CommodityDetail] TO [MssExec]
GRANT INSERT ON  [dbo].[CommodityDetail] TO [MssExec]
GRANT DELETE ON  [dbo].[CommodityDetail] TO [MssExec]
GRANT UPDATE ON  [dbo].[CommodityDetail] TO [MssExec]
GO
Uses
Used By