Tables [dbo].[PlasticProviderTypeTokenType]
Properties
PropertyValue
Row Count (~)0
Created9:05:04 AM Friday, November 22, 2024
Last Modified9:05:04 AM Friday, November 22, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_PlasticProviderTypeTokenType: ProviderTypeTokenTypeIDProviderTypeTokenTypeIDint4
No
1 - 1
Foreign Keys FK_PlasticProviderTypeTokenType_ProviderTypeFID: [dbo].[PlasticProviderType].ProviderTypeFIDIndexes IX_PlasticProviderTypeTokenType_ProviderType_TokenType: ProviderTypeFID\TokenTypeFIDProviderTypeFIDint4
No
Foreign Keys FK_PlasticProviderTypeTokenType_TokenTypeFID: [dbo].[PlasticTokenType].TokenTypeFIDIndexes IX_PlasticProviderTypeTokenType_ProviderType_TokenType: ProviderTypeFID\TokenTypeFIDIndexes IX_PlasticProviderTypeTokenType_TokenType: TokenTypeFIDTokenTypeFIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_PlasticProviderTypeTokenType: ProviderTypeTokenTypeIDPK_PlasticProviderTypeTokenTypeProviderTypeTokenTypeID
Yes
IX_PlasticProviderTypeTokenType_ProviderType_TokenTypeProviderTypeFID, TokenTypeFID
Yes
IX_PlasticProviderTypeTokenType_TokenTypeTokenTypeFID
Foreign Keys Foreign Keys
NameColumns
FK_PlasticProviderTypeTokenType_ProviderTypeFIDProviderTypeFID->[dbo].[PlasticProviderType].[ProviderTypeID]
FK_PlasticProviderTypeTokenType_TokenTypeFIDTokenTypeFID->[dbo].[PlasticTokenType].[TokenTypeID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PlasticProviderTypeTokenType]
(
[ProviderTypeTokenTypeID] [int] NOT NULL IDENTITY(1, 1),
[ProviderTypeFID] [int] NOT NULL,
[TokenTypeFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticProviderTypeTokenType] ADD CONSTRAINT [PK_PlasticProviderTypeTokenType] PRIMARY KEY CLUSTERED  ([ProviderTypeTokenTypeID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_PlasticProviderTypeTokenType_ProviderType_TokenType] ON [dbo].[PlasticProviderTypeTokenType] ([ProviderTypeFID], [TokenTypeFID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_PlasticProviderTypeTokenType_TokenType] ON [dbo].[PlasticProviderTypeTokenType] ([TokenTypeFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticProviderTypeTokenType] ADD CONSTRAINT [FK_PlasticProviderTypeTokenType_ProviderTypeFID] FOREIGN KEY ([ProviderTypeFID]) REFERENCES [dbo].[PlasticProviderType] ([ProviderTypeID])
GO
ALTER TABLE [dbo].[PlasticProviderTypeTokenType] ADD CONSTRAINT [FK_PlasticProviderTypeTokenType_TokenTypeFID] FOREIGN KEY ([TokenTypeFID]) REFERENCES [dbo].[PlasticTokenType] ([TokenTypeID])
GO
GRANT SELECT ON  [dbo].[PlasticProviderTypeTokenType] TO [MssExec]
GRANT INSERT ON  [dbo].[PlasticProviderTypeTokenType] TO [MssExec]
GRANT DELETE ON  [dbo].[PlasticProviderTypeTokenType] TO [MssExec]
GRANT UPDATE ON  [dbo].[PlasticProviderTypeTokenType] TO [MssExec]
GO
Uses