Tables [dbo].[OrderCancellationReason]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)4
Created9:21:57 AM Friday, December 7, 2018
Last Modified7:33:03 PM Wednesday, February 28, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_OrderCancellationReason: OrderCancellationReasonIDOrderCancellationReasonIDint4
No
1 - 1
Cluster Key IX_OrderCancellationReason_Reason: ReasonReasonvarchar(40)40
No
IsUncancelReasonbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Primary Key PK_OrderCancellationReason: OrderCancellationReasonIDPK_OrderCancellationReasonOrderCancellationReasonID
Yes
Cluster Key IX_OrderCancellationReason_Reason: ReasonIX_OrderCancellationReason_ReasonReason
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[OrderCancellationReason]
(
[OrderCancellationReasonID] [int] NOT NULL IDENTITY(1, 1),
[Reason] [varchar] (40) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsUncancelReason] [bit] NOT NULL CONSTRAINT [DF_OrderCancellationReason_IsUncancelReason] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[OrderCancellationReason] ADD CONSTRAINT [PK_OrderCancellationReason] PRIMARY KEY NONCLUSTERED  ([OrderCancellationReasonID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[OrderCancellationReason] ADD CONSTRAINT [IX_OrderCancellationReason_Reason] UNIQUE CLUSTERED  ([Reason]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[OrderCancellationReason] TO [MssExec]
GRANT INSERT ON  [dbo].[OrderCancellationReason] TO [MssExec]
GRANT DELETE ON  [dbo].[OrderCancellationReason] TO [MssExec]
GRANT UPDATE ON  [dbo].[OrderCancellationReason] TO [MssExec]
GO
Uses
Used By