Tables [dbo].[SakariAccount]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created8:43:58 AM Thursday, December 5, 2024
Last Modified8:52:52 AM Thursday, December 5, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_SakariAccount: SakariAccountIDSakariAccountIDint4
No
1 - 1
ClientIDvarchar(64)64
No
ClientSecretvarchar(128)128
No
Indexes IX_SakariAccount_AccountName: AccountNameAccountNamevarchar(64)64
No
Indexes IX_SakariAccount_AccountID: AccountIDAccountIDvarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_SakariAccount: SakariAccountIDPK_SakariAccountSakariAccountID
Yes
IX_SakariAccount_AccountIDAccountID
Yes
IX_SakariAccount_AccountNameAccountName
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[SakariAccount]
(
[SakariAccountID] [int] NOT NULL IDENTITY(1, 1),
[ClientID] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ClientSecret] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[AccountName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[AccountID] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SakariAccount] ADD CONSTRAINT [PK_SakariAccount] PRIMARY KEY CLUSTERED  ([SakariAccountID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SakariAccount] ADD CONSTRAINT [IX_SakariAccount_AccountID] UNIQUE NONCLUSTERED  ([AccountID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SakariAccount] ADD CONSTRAINT [IX_SakariAccount_AccountName] UNIQUE NONCLUSTERED  ([AccountName]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[SakariAccount] TO [MssExec]
GRANT INSERT ON  [dbo].[SakariAccount] TO [MssExec]
GRANT DELETE ON  [dbo].[SakariAccount] TO [MssExec]
GRANT UPDATE ON  [dbo].[SakariAccount] TO [MssExec]
GO
Uses
Used By