Tables [dbo].[SysuserEmailSignature]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created4:03:00 PM Thursday, December 6, 2018
Last Modified4:03:17 PM Thursday, December 6, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_SysuserEmailSignature: SysuserEmailSignatureIDSysuserEmailSignatureIDint4
No
1 - 1
Foreign Keys FK_SysuserEmailSignature_Sysuser: [dbo].[Sysuser].SysuserFIDCheck Constraints CK_SysuserEmailSignature_DefaultFlag : ((1)<>[dbo].[CheckDuplicateDefaultSignatures]([SysuserFID]))Indexes IX_SysuserEmailSignature_Sysuser_DefaultFlag: SysuserFID\DefaultFlagSysuserFIDint4
No
SignatureNamevarchar(64)64
No
Signaturevarchar(max)max
No
Indexes IX_SysuserEmailSignature_Sysuser_DefaultFlag: SysuserFID\DefaultFlagDefaultFlagbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_SysuserEmailSignature: SysuserEmailSignatureIDPK_SysuserEmailSignatureSysuserEmailSignatureID
Yes
IX_SysuserEmailSignature_Sysuser_DefaultFlagSysuserFID, DefaultFlag
Check Constraints Check Constraints
NameOn ColumnConstraint
CK_SysuserEmailSignature_DefaultFlagSysuserFID((1)<>[dbo].[CheckDuplicateDefaultSignatures]([SysuserFID]))
Foreign Keys Foreign Keys
NameColumns
FK_SysuserEmailSignature_SysuserSysuserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[SysuserEmailSignature]
(
[SysuserEmailSignatureID] [int] NOT NULL IDENTITY(1, 1),
[SysuserFID] [int] NOT NULL,
[SignatureName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Signature] [varchar] (max) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DefaultFlag] [bit] NOT NULL CONSTRAINT [DF_SysuserEmailSignature_DefaultFlag] DEFAULT ((0))
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[SysuserEmailSignature] ADD CONSTRAINT [CK_SysuserEmailSignature_DefaultFlag] CHECK (((1)<>[dbo].[CheckDuplicateDefaultSignatures]([SysuserFID])))
GO
ALTER TABLE [dbo].[SysuserEmailSignature] ADD CONSTRAINT [PK_SysuserEmailSignature] PRIMARY KEY CLUSTERED  ([SysuserEmailSignatureID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_SysuserEmailSignature_Sysuser_DefaultFlag] ON [dbo].[SysuserEmailSignature] ([SysuserFID], [DefaultFlag] DESC) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SysuserEmailSignature] ADD CONSTRAINT [FK_SysuserEmailSignature_Sysuser] FOREIGN KEY ([SysuserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[SysuserEmailSignature] TO [MssExec]
GRANT INSERT ON  [dbo].[SysuserEmailSignature] TO [MssExec]
GRANT DELETE ON  [dbo].[SysuserEmailSignature] TO [MssExec]
GRANT UPDATE ON  [dbo].[SysuserEmailSignature] TO [MssExec]
GO
Uses
Used By