Tables [dbo].[OrderEmailType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)5
Created1:48:58 PM Wednesday, April 10, 2024
Last Modified1:49:16 PM Wednesday, April 10, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_OrderEmailType: OrderEmailTypeIDOrderEmailTypeIDint4
No
1 - 1
Indexes IX_OrderEmailType_EmailType: EmailTypeEmailTypevarchar(50)50
No
MobileEmailTypevarchar(6)6
Yes
SortOrderint4
Yes
Indexes Indexes
NameColumnsUnique
Primary Key PK_OrderEmailType: OrderEmailTypeIDPK_OrderEmailTypeOrderEmailTypeID
Yes
IX_OrderEmailType_EmailTypeEmailType
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[OrderEmailType]
(
[OrderEmailTypeID] [int] NOT NULL IDENTITY(1, 1),
[EmailType] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[MobileEmailType] [varchar] (6) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SortOrder] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[OrderEmailType] ADD CONSTRAINT [PK_OrderEmailType] PRIMARY KEY NONCLUSTERED  ([OrderEmailTypeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[OrderEmailType] ADD CONSTRAINT [IX_OrderEmailType_EmailType] UNIQUE NONCLUSTERED  ([EmailType]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[OrderEmailType] TO [MssExec]
GRANT INSERT ON  [dbo].[OrderEmailType] TO [MssExec]
GRANT DELETE ON  [dbo].[OrderEmailType] TO [MssExec]
GRANT UPDATE ON  [dbo].[OrderEmailType] TO [MssExec]
GO
Uses
Used By