Tables [dbo].[PlasticProviderTypeAllowedTokenType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)7
Created8:53:48 AM Thursday, December 5, 2024
Last Modified8:53:48 AM Thursday, December 5, 2024
Columns
NameData TypeComputedMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_PlasticProviderTypeAllowedTokenType: ProviderTypeAllowedTokenTypeIDProviderTypeAllowedTokenTypeIDint4
No
1 - 1
Foreign Keys FK_PlasticProviderTypeAllowedTokenType_ProviderTypeFID: [dbo].[PlasticProviderType].ProviderTypeFIDIndexes IX_PlasticProviderTypeAllowedTokenType_Provider_TokenType: ProviderTypeFID\TokenTypeFIDProviderTypeFIDint4
No
Foreign Keys FK_PlasticProviderTypeAllowedTokenType_TokenTypeFID: [dbo].[PlasticTokenType].TokenTypeFIDIndexes IX_PlasticProviderTypeAllowedTokenType_Provider_TokenType: ProviderTypeFID\TokenTypeFIDIndexes IX_PlasticProviderTypeAllowedTokenType_TokenType: TokenTypeFIDTokenTypeFIDint4
No
ExternalCodevarchar(32)32
No
TokenTypeDescriptionvarchar(30)([dbo].[GetPlasticTokenTypeDescription]([TokenTypeFID]))30
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_PlasticProviderTypeAllowedTokenType: ProviderTypeAllowedTokenTypeIDPK_PlasticProviderTypeAllowedTokenTypeProviderTypeAllowedTokenTypeID
Yes
IX_PlasticProviderTypeAllowedTokenType_Provider_TokenTypeProviderTypeFID, TokenTypeFID
Yes
IX_PlasticProviderTypeAllowedTokenType_TokenTypeTokenTypeFID
Foreign Keys Foreign Keys
NameColumns
FK_PlasticProviderTypeAllowedTokenType_ProviderTypeFIDProviderTypeFID->[dbo].[PlasticProviderType].[ProviderTypeID]
FK_PlasticProviderTypeAllowedTokenType_TokenTypeFIDTokenTypeFID->[dbo].[PlasticTokenType].[TokenTypeID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PlasticProviderTypeAllowedTokenType]
(
[ProviderTypeAllowedTokenTypeID] [int] NOT NULL IDENTITY(1, 1),
[ProviderTypeFID] [int] NOT NULL,
[TokenTypeFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[TokenTypeDescription] AS ([dbo].[GetPlasticTokenTypeDescription]([TokenTypeFID]))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticProviderTypeAllowedTokenType] ADD CONSTRAINT [PK_PlasticProviderTypeAllowedTokenType] PRIMARY KEY CLUSTERED  ([ProviderTypeAllowedTokenTypeID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_PlasticProviderTypeAllowedTokenType_Provider_TokenType] ON [dbo].[PlasticProviderTypeAllowedTokenType] ([ProviderTypeFID], [TokenTypeFID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_PlasticProviderTypeAllowedTokenType_TokenType] ON [dbo].[PlasticProviderTypeAllowedTokenType] ([TokenTypeFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticProviderTypeAllowedTokenType] ADD CONSTRAINT [FK_PlasticProviderTypeAllowedTokenType_ProviderTypeFID] FOREIGN KEY ([ProviderTypeFID]) REFERENCES [dbo].[PlasticProviderType] ([ProviderTypeID])
GO
ALTER TABLE [dbo].[PlasticProviderTypeAllowedTokenType] ADD CONSTRAINT [FK_PlasticProviderTypeAllowedTokenType_TokenTypeFID] FOREIGN KEY ([TokenTypeFID]) REFERENCES [dbo].[PlasticTokenType] ([TokenTypeID])
GO
GRANT SELECT ON  [dbo].[PlasticProviderTypeAllowedTokenType] TO [MssExec]
GRANT INSERT ON  [dbo].[PlasticProviderTypeAllowedTokenType] TO [MssExec]
GRANT DELETE ON  [dbo].[PlasticProviderTypeAllowedTokenType] TO [MssExec]
GRANT UPDATE ON  [dbo].[PlasticProviderTypeAllowedTokenType] TO [MssExec]
GO
Uses
Used By