Tables [dbo].[MoversConnectEmailRecipient]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created10:34:26 AM Monday, March 30, 2015
Last Modified10:34:27 AM Monday, March 30, 2015
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_MoversConnectEmailRecipient: MoversConnectEmailRecipientIDMoversConnectEmailRecipientIDint4
No
1 - 1
Foreign Keys FK_MoversConnectEmailRecipient_MoversConnectSetup: [dbo].[MoversConnectSetup].MoversConnectSetupFIDMoversConnectSetupFIDint4
No
Salutationvarchar(32)32
No
Indexes IX_MoversConnectEmailRecipient_RecipientEmail: RecipientEmailRecipientEmailvarchar(100)100
No
SendEmailsbit1
No
EmailIntervalHoursnumeric(10,2)9
No
MaxLogEntriesPerEmailint4
No
LastMoversConnectLogIDbigint8
Yes
EmailCountint4
No
LastEmailDatedatetime8
Yes
Indexes Indexes
NameColumnsUnique
Primary Key PK_MoversConnectEmailRecipient: MoversConnectEmailRecipientIDPK_MoversConnectEmailRecipientMoversConnectEmailRecipientID
Yes
IX_MoversConnectEmailRecipient_RecipientEmailRecipientEmail
Yes
Foreign Keys Foreign Keys
NameColumns
FK_MoversConnectEmailRecipient_MoversConnectSetupMoversConnectSetupFID->[dbo].[MoversConnectSetup].[MoversConnectSetupID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[MoversConnectEmailRecipient]
(
[MoversConnectEmailRecipientID] [int] NOT NULL IDENTITY(1, 1),
[MoversConnectSetupFID] [int] NOT NULL,
[Salutation] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[RecipientEmail] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SendEmails] [bit] NOT NULL,
[EmailIntervalHours] [numeric] (10, 2) NOT NULL,
[MaxLogEntriesPerEmail] [int] NOT NULL,
[LastMoversConnectLogID] [bigint] NULL,
[EmailCount] [int] NOT NULL,
[LastEmailDate] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MoversConnectEmailRecipient] ADD CONSTRAINT [PK_MoversConnectEmailRecipient] PRIMARY KEY NONCLUSTERED  ([MoversConnectEmailRecipientID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_MoversConnectEmailRecipient_RecipientEmail] ON [dbo].[MoversConnectEmailRecipient] ([RecipientEmail]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MoversConnectEmailRecipient] ADD CONSTRAINT [FK_MoversConnectEmailRecipient_MoversConnectSetup] FOREIGN KEY ([MoversConnectSetupFID]) REFERENCES [dbo].[MoversConnectSetup] ([MoversConnectSetupID])
GO
GRANT SELECT ON  [dbo].[MoversConnectEmailRecipient] TO [MssExec]
GRANT INSERT ON  [dbo].[MoversConnectEmailRecipient] TO [MssExec]
GRANT DELETE ON  [dbo].[MoversConnectEmailRecipient] TO [MssExec]
GRANT UPDATE ON  [dbo].[MoversConnectEmailRecipient] TO [MssExec]
GO
Uses