Tables [dbo].[PlasticTokenAccountType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)10
Created4:09:40 PM Thursday, December 6, 2018
Last Modified7:43:20 PM Wednesday, February 28, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_PlasticTokenAccountType: TokenAccountTypeIDTokenAccountTypeIDint4
No
1 - 1
Indexes IX_PlasticTokenAccountType_AccountType: AccountTypeAccountTypevarchar(1)1
No
Indexes IX_PlasticTokenAccountType_Description: DescriptionDescriptionvarchar(30)30
No
IsCreditCardbit1
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_PlasticTokenAccountType: TokenAccountTypeIDPK_PlasticTokenAccountTypeTokenAccountTypeID
Yes
IX_PlasticTokenAccountType_AccountTypeAccountType
Yes
IX_PlasticTokenAccountType_DescriptionDescription
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PlasticTokenAccountType]
(
[TokenAccountTypeID] [int] NOT NULL IDENTITY(1, 1),
[AccountType] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsCreditCard] [bit] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticTokenAccountType] ADD CONSTRAINT [PK_PlasticTokenAccountType] PRIMARY KEY CLUSTERED  ([TokenAccountTypeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticTokenAccountType] ADD CONSTRAINT [IX_PlasticTokenAccountType_AccountType] UNIQUE NONCLUSTERED  ([AccountType]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PlasticTokenAccountType] ADD CONSTRAINT [IX_PlasticTokenAccountType_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[PlasticTokenAccountType] TO [MssExec]
GRANT INSERT ON  [dbo].[PlasticTokenAccountType] TO [MssExec]
GRANT DELETE ON  [dbo].[PlasticTokenAccountType] TO [MssExec]
GRANT UPDATE ON  [dbo].[PlasticTokenAccountType] TO [MssExec]
GO
Uses
Used By