Tables [dbo].[PlasticOrigin]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)6
Created4:09:41 PM Thursday, December 6, 2018
Last Modified4:09:41 PM Thursday, December 6, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_PlasticOrigin: OriginIDOriginIDint4
No
1 - 1
Indexes IX_PlasticOrigin_Code: CodeCodechar(1)1
No
Indexes IX_PlasticOrigin_Description: DescriptionDescriptionvarchar(40)40
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_PlasticOrigin: OriginIDPK_PlasticOriginOriginID
Yes
IX_PlasticOrigin_CodeCode
Yes
IX_PlasticOrigin_DescriptionDescription
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PlasticOrigin]
(
[OriginID] [int] NOT NULL IDENTITY(1, 1),
[Code] [char] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (40) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticOrigin] ADD CONSTRAINT [PK_PlasticOrigin] PRIMARY KEY CLUSTERED  ([OriginID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticOrigin] ADD CONSTRAINT [IX_PlasticOrigin_Code] UNIQUE NONCLUSTERED  ([Code]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticOrigin] ADD CONSTRAINT [IX_PlasticOrigin_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[PlasticOrigin] TO [MssExec]
GRANT INSERT ON  [dbo].[PlasticOrigin] TO [MssExec]
GRANT DELETE ON  [dbo].[PlasticOrigin] TO [MssExec]
GRANT UPDATE ON  [dbo].[PlasticOrigin] TO [MssExec]
GO
Uses
Used By