Tables [dbo].[BcBankAccount]
Properties
PropertyValue
Row Count (~)0
Created11:54:58 AM Monday, April 6, 2026
Last Modified11:55:03 AM Monday, April 6, 2026
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_BcBankAccount: BcBankAccountIdBcBankAccountIdint4
No
1 - 1
Cluster Key IX_BcBankAccount_BcId: BcIdBcIduniqueidentifier16
No
CreatedOndatetimeoffset10
No
LastImportedOndatetimeoffset10
No
LastUpdatedInBcOndatetimeoffset10
No
Foreign Keys FK_BcBankAccount_AccountingBankAccount: [dbo].[AccountingBankAccount].AccountingBankAccountFidIndexes IX_BcBankAccount_AccountingAccountFid: AccountingBankAccountFidAccountingBankAccountFidint4
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_BcBankAccount: BcBankAccountIdPK_BcBankAccountBcBankAccountId
Yes
IX_BcBankAccount_AccountingAccountFidAccountingBankAccountFid
Yes
Cluster Key IX_BcBankAccount_BcId: BcIdIX_BcBankAccount_BcIdBcId
Yes
Foreign Keys Foreign Keys
NameColumns
FK_BcBankAccount_AccountingBankAccountAccountingBankAccountFid->[dbo].[AccountingBankAccount].[AccountingBankAccountId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[BcBankAccount]
(
[BcBankAccountId] [int] NOT NULL IDENTITY(1, 1),
[BcId] [uniqueidentifier] NOT NULL,
[CreatedOn] [datetimeoffset] NOT NULL,
[LastImportedOn] [datetimeoffset] NOT NULL,
[LastUpdatedInBcOn] [datetimeoffset] NOT NULL,
[AccountingBankAccountFid] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcBankAccount] ADD CONSTRAINT [PK_BcBankAccount] PRIMARY KEY NONCLUSTERED  ([BcBankAccountId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcBankAccount] ADD CONSTRAINT [IX_BcBankAccount_AccountingAccountFid] UNIQUE NONCLUSTERED  ([AccountingBankAccountFid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcBankAccount] ADD CONSTRAINT [IX_BcBankAccount_BcId] UNIQUE CLUSTERED  ([BcId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcBankAccount] ADD CONSTRAINT [FK_BcBankAccount_AccountingBankAccount] FOREIGN KEY ([AccountingBankAccountFid]) REFERENCES [dbo].[AccountingBankAccount] ([AccountingBankAccountId])
GO
GRANT SELECT ON  [dbo].[BcBankAccount] TO [MssExec]
GRANT INSERT ON  [dbo].[BcBankAccount] TO [MssExec]
GRANT DELETE ON  [dbo].[BcBankAccount] TO [MssExec]
GRANT UPDATE ON  [dbo].[BcBankAccount] TO [MssExec]
GO
Uses
Used By