Tables [dbo].[OutgoingEmailBatchFailure]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created7:34:24 PM Tuesday, September 24, 2024
Last Modified7:34:24 PM Tuesday, September 24, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_OutgoingEmailBatchFailure: OutgoingEmailBatchFailureIdOutgoingEmailBatchFailureIdint4
No
1 - 1
BodyOrMessagenvarchar(max)max
Yes
AttemptedAtdatetimeoffset10
No
SentAtdatetimeoffset10
Yes
CompletedAtdatetimeoffset10
Yes
Indexes IX_OutgoingEmailBatchFailure_RequestTraceId: RequestTraceIdRequestTraceIdvarchar(64)64
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_OutgoingEmailBatchFailure: OutgoingEmailBatchFailureIdPK_OutgoingEmailBatchFailureOutgoingEmailBatchFailureId
Yes
IX_OutgoingEmailBatchFailure_RequestTraceIdRequestTraceId
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[OutgoingEmailBatchFailure]
(
[OutgoingEmailBatchFailureId] [int] NOT NULL IDENTITY(1, 1),
[BodyOrMessage] [nvarchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[AttemptedAt] [datetimeoffset] NOT NULL,
[SentAt] [datetimeoffset] NULL,
[CompletedAt] [datetimeoffset] NULL,
[RequestTraceId] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[OutgoingEmailBatchFailure] ADD CONSTRAINT [PK_OutgoingEmailBatchFailure] PRIMARY KEY CLUSTERED  ([OutgoingEmailBatchFailureId]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_OutgoingEmailBatchFailure_RequestTraceId] ON [dbo].[OutgoingEmailBatchFailure] ([RequestTraceId]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[OutgoingEmailBatchFailure] TO [MssExec]
GRANT INSERT ON  [dbo].[OutgoingEmailBatchFailure] TO [MssExec]
GRANT DELETE ON  [dbo].[OutgoingEmailBatchFailure] TO [MssExec]
GRANT UPDATE ON  [dbo].[OutgoingEmailBatchFailure] TO [MssExec]
GO
Uses
Used By