Tables [dbo].[CommType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)10
Created4:57:07 PM Thursday, September 7, 2006
Last Modified9:10:52 AM Thursday, May 23, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_CommType: PriKeyPriKeyint4
No
1 - 1
Indexes IX_Unique_Commodity: CommodityCommodityvarchar(26)26
No
GLNumbervarchar(10)10
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_CommType: PriKeyPK_CommTypePriKey
Yes
80
IX_Unique_CommodityCommodity
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[CommType]
(
[PriKey] [int] NOT NULL IDENTITY(1, 1),
[Commodity] [varchar] (26) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[GLNumber] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CommType] ADD CONSTRAINT [PK_CommType] PRIMARY KEY CLUSTERED  ([PriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CommType] ADD CONSTRAINT [IX_Unique_Commodity] UNIQUE NONCLUSTERED  ([Commodity]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[CommType] TO [MssExec]
GRANT INSERT ON  [dbo].[CommType] TO [MssExec]
GRANT DELETE ON  [dbo].[CommType] TO [MssExec]
GRANT UPDATE ON  [dbo].[CommType] TO [MssExec]
GO
Uses
Used By