Tables [dbo].[AccountingAccount]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created7:46:48 PM Saturday, February 7, 2026
Last Modified7:49:23 PM Saturday, February 7, 2026
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_AccountingAccount: AccountingAccountIdAccountingAccountIdint4
No
1 - 1
Indexes IX_AccountingAccount_Code: CodeCodenvarchar(32)64
No
Descriptionnvarchar(64)128
No
CanPostbit1
No
Hiddenbit1
No
Foreign Keys FK_AccountingAccount_AccountingAccountType: [dbo].[AccountingAccountType].AccountingAccountTypeFidAccountingAccountTypeFidint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_AccountingAccount: AccountingAccountIdPK_AccountingAccountAccountingAccountId
Yes
IX_AccountingAccount_CodeCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_AccountingAccount_AccountingAccountTypeAccountingAccountTypeFid->[dbo].[AccountingAccountType].[AccountingAccountTypeId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AccountingAccount]
(
[AccountingAccountId] [int] NOT NULL IDENTITY(1, 1),
[Code] [nvarchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CanPost] [bit] NOT NULL,
[Hidden] [bit] NOT NULL,
[AccountingAccountTypeFid] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingAccount] ADD CONSTRAINT [PK_AccountingAccount] PRIMARY KEY CLUSTERED  ([AccountingAccountId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingAccount] ADD CONSTRAINT [IX_AccountingAccount_Code] UNIQUE NONCLUSTERED  ([Code]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingAccount] ADD CONSTRAINT [FK_AccountingAccount_AccountingAccountType] FOREIGN KEY ([AccountingAccountTypeFid]) REFERENCES [dbo].[AccountingAccountType] ([AccountingAccountTypeId])
GO
GRANT SELECT ON  [dbo].[AccountingAccount] TO [MssExec]
GRANT INSERT ON  [dbo].[AccountingAccount] TO [MssExec]
GRANT DELETE ON  [dbo].[AccountingAccount] TO [MssExec]
GRANT UPDATE ON  [dbo].[AccountingAccount] TO [MssExec]
GO
Uses
Used By