Tables [dbo].[AccountProfileDocumentType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created8:34:30 AM Friday, December 7, 2018
Last Modified8:34:30 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_AccountProfileDocumentType: AccountProfileDocumentTypeIDAccountProfileDocumentTypeIDint4
No
1 - 1
Foreign Keys FK_AccountProfileDocumentType_AccountProfileDocumentGroup: [dbo].[AccountProfileDocumentGroup].AccountProfileDocumentGroupFIDAccountProfileDocumentGroupFIDint4
No
Indexes IX_AccountProfileDocumentType_Description: DescriptionDescriptionvarchar(64)64
No
Inactivebit1
No
((0))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_AccountProfileDocumentType: AccountProfileDocumentTypeIDPK_AccountProfileDocumentTypeAccountProfileDocumentTypeID
Yes
IX_AccountProfileDocumentType_DescriptionDescription
Yes
Foreign Keys Foreign Keys
NameColumns
FK_AccountProfileDocumentType_AccountProfileDocumentGroupAccountProfileDocumentGroupFID->[dbo].[AccountProfileDocumentGroup].[AccountProfileDocumentGroupID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AccountProfileDocumentType]
(
[AccountProfileDocumentTypeID] [int] NOT NULL IDENTITY(1, 1),
[AccountProfileDocumentGroupFID] [int] NOT NULL,
[Description] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Inactive] [bit] NOT NULL CONSTRAINT [DF_AccountProfileDocumentType_Inactive] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountProfileDocumentType] ADD CONSTRAINT [PK_AccountProfileDocumentType] PRIMARY KEY CLUSTERED  ([AccountProfileDocumentTypeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountProfileDocumentType] ADD CONSTRAINT [IX_AccountProfileDocumentType_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountProfileDocumentType] ADD CONSTRAINT [FK_AccountProfileDocumentType_AccountProfileDocumentGroup] FOREIGN KEY ([AccountProfileDocumentGroupFID]) REFERENCES [dbo].[AccountProfileDocumentGroup] ([AccountProfileDocumentGroupID])
GO
GRANT SELECT ON  [dbo].[AccountProfileDocumentType] TO [MssExec]
GRANT INSERT ON  [dbo].[AccountProfileDocumentType] TO [MssExec]
GRANT DELETE ON  [dbo].[AccountProfileDocumentType] TO [MssExec]
GRANT UPDATE ON  [dbo].[AccountProfileDocumentType] TO [MssExec]
GO
Uses
Used By