Tables [dbo].[PlasticTokenType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)35
Created4:09:40 PM Thursday, December 6, 2018
Last Modified7:36:40 PM Tuesday, September 24, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_PlasticTokenType: TokenTypeIDTokenTypeIDint4
No
1 - 1
Indexes IX_PlasticTokenType_Code: CodeCodevarchar(2)2
No
Indexes IX_PlasticTokenType_Description: DescriptionDescriptionvarchar(30)30
No
ShortDescvarchar(15)15
No
Foreign Keys FK_PlasticTokenType_TokenAccountTypeFID: [dbo].[PlasticTokenAccountType].TokenAccountTypeFIDTokenAccountTypeFIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_PlasticTokenType: TokenTypeIDPK_PlasticTokenTypeTokenTypeID
Yes
IX_PlasticTokenType_CodeCode
Yes
IX_PlasticTokenType_DescriptionDescription
Yes
Foreign Keys Foreign Keys
NameColumns
FK_PlasticTokenType_TokenAccountTypeFIDTokenAccountTypeFID->[dbo].[PlasticTokenAccountType].[TokenAccountTypeID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PlasticTokenType]
(
[TokenTypeID] [int] NOT NULL IDENTITY(1, 1),
[Code] [varchar] (2) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ShortDesc] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[TokenAccountTypeFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticTokenType] ADD CONSTRAINT [PK_PlasticTokenType] PRIMARY KEY CLUSTERED  ([TokenTypeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticTokenType] ADD CONSTRAINT [IX_PlasticTokenType_Code] UNIQUE NONCLUSTERED  ([Code]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticTokenType] ADD CONSTRAINT [IX_PlasticTokenType_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticTokenType] ADD CONSTRAINT [FK_PlasticTokenType_TokenAccountTypeFID] FOREIGN KEY ([TokenAccountTypeFID]) REFERENCES [dbo].[PlasticTokenAccountType] ([TokenAccountTypeID])
GO
GRANT SELECT ON  [dbo].[PlasticTokenType] TO [MssExec]
GRANT INSERT ON  [dbo].[PlasticTokenType] TO [MssExec]
GRANT DELETE ON  [dbo].[PlasticTokenType] TO [MssExec]
GRANT UPDATE ON  [dbo].[PlasticTokenType] TO [MssExec]
GO
Uses
Used By