Tables [dbo].[ContactPreference]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)3
Created7:31:48 PM Wednesday, February 28, 2024
Last Modified7:31:48 PM Wednesday, February 28, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_ContactPreference: ContactPreferenceIDContactPreferenceIDint4
No
1 - 1
Indexes IX_ContactPreference_ContactPreferenceType: ContactPreferenceTypeContactPreferenceTypevarchar(20)20
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_ContactPreference: ContactPreferenceIDPK_ContactPreferenceContactPreferenceID
Yes
IX_ContactPreference_ContactPreferenceTypeContactPreferenceType
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ContactPreference]
(
[ContactPreferenceID] [int] NOT NULL IDENTITY(1, 1),
[ContactPreferenceType] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ContactPreference] ADD CONSTRAINT [PK_ContactPreference] PRIMARY KEY CLUSTERED  ([ContactPreferenceID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ContactPreference] ADD CONSTRAINT [IX_ContactPreference_ContactPreferenceType] UNIQUE NONCLUSTERED  ([ContactPreferenceType]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[ContactPreference] TO [MssExec]
GRANT INSERT ON  [dbo].[ContactPreference] TO [MssExec]
GRANT DELETE ON  [dbo].[ContactPreference] TO [MssExec]
GRANT UPDATE ON  [dbo].[ContactPreference] TO [MssExec]
GO
Uses
Used By