Tables [dbo].[AccountingBankAccount]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created9:19:37 AM Wednesday, October 15, 2025
Last Modified9:19:37 AM Wednesday, October 15, 2025
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_AccountingBankAccount: AccountingBankAccountIdAccountingBankAccountIdint4
No
1 - 1
Foreign Keys FK_AccountingBankAccount_AccountingAccount: [dbo].[AccountingAccount].AccountingAccountFidAccountingAccountFidint4
No
Descriptionnvarchar(64)128
No
Codenvarchar(64)128
No
Indexes IX_AccountingBankAccount_AccountNumber: AccountNumberAccountNumbernvarchar(64)128
No
Hiddenbit1
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_AccountingBankAccount: AccountingBankAccountIdPK_AccountingBankAccountAccountingBankAccountId
Yes
IX_AccountingBankAccount_AccountNumberAccountNumber
Yes
Foreign Keys Foreign Keys
NameColumns
FK_AccountingBankAccount_AccountingAccountAccountingAccountFid->[dbo].[AccountingAccount].[AccountingAccountId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AccountingBankAccount]
(
[AccountingBankAccountId] [int] NOT NULL IDENTITY(1, 1),
[AccountingAccountFid] [int] NOT NULL,
[Description] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Code] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[AccountNumber] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Hidden] [bit] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingBankAccount] ADD CONSTRAINT [PK_AccountingBankAccount] PRIMARY KEY CLUSTERED  ([AccountingBankAccountId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingBankAccount] ADD CONSTRAINT [IX_AccountingBankAccount_AccountNumber] UNIQUE NONCLUSTERED  ([AccountNumber]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingBankAccount] ADD CONSTRAINT [FK_AccountingBankAccount_AccountingAccount] FOREIGN KEY ([AccountingAccountFid]) REFERENCES [dbo].[AccountingAccount] ([AccountingAccountId])
GO
GRANT SELECT ON  [dbo].[AccountingBankAccount] TO [MssExec]
GRANT INSERT ON  [dbo].[AccountingBankAccount] TO [MssExec]
GRANT DELETE ON  [dbo].[AccountingBankAccount] TO [MssExec]
GRANT UPDATE ON  [dbo].[AccountingBankAccount] TO [MssExec]
GO
Uses
Used By