Tables [dbo].[BcAccount]
Properties
PropertyValue
Row Count (~)0
Created11:54:36 AM Monday, April 6, 2026
Last Modified11:54:52 AM Monday, April 6, 2026
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_BcAccount: BcAccountIdBcAccountIdint4
No
1 - 1
Cluster Key IX_BcAccount_BcId: BcIdBcIduniqueidentifier16
No
CreatedOndatetimeoffset10
No
LastImportedOndatetimeoffset10
No
LastUpdatedInBcOndatetimeoffset10
No
Foreign Keys FK_BcAccount_AccountingAccount: [dbo].[AccountingAccount].AccountingAccountFidIndexes IX_BcAccount_AccountingAccountFid: AccountingAccountFidAccountingAccountFidint4
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_BcAccount: BcAccountIdPK_BcAccountBcAccountId
Yes
IX_BcAccount_AccountingAccountFidAccountingAccountFid
Yes
Cluster Key IX_BcAccount_BcId: BcIdIX_BcAccount_BcIdBcId
Yes
Foreign Keys Foreign Keys
NameColumns
FK_BcAccount_AccountingAccountAccountingAccountFid->[dbo].[AccountingAccount].[AccountingAccountId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[BcAccount]
(
[BcAccountId] [int] NOT NULL IDENTITY(1, 1),
[BcId] [uniqueidentifier] NOT NULL,
[CreatedOn] [datetimeoffset] NOT NULL,
[LastImportedOn] [datetimeoffset] NOT NULL,
[LastUpdatedInBcOn] [datetimeoffset] NOT NULL,
[AccountingAccountFid] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcAccount] ADD CONSTRAINT [PK_BcAccount] PRIMARY KEY NONCLUSTERED  ([BcAccountId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcAccount] ADD CONSTRAINT [IX_BcAccount_AccountingAccountFid] UNIQUE NONCLUSTERED  ([AccountingAccountFid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcAccount] ADD CONSTRAINT [IX_BcAccount_BcId] UNIQUE CLUSTERED  ([BcId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcAccount] ADD CONSTRAINT [FK_BcAccount_AccountingAccount] FOREIGN KEY ([AccountingAccountFid]) REFERENCES [dbo].[AccountingAccount] ([AccountingAccountId])
GO
GRANT SELECT ON  [dbo].[BcAccount] TO [MssExec]
GRANT INSERT ON  [dbo].[BcAccount] TO [MssExec]
GRANT DELETE ON  [dbo].[BcAccount] TO [MssExec]
GRANT UPDATE ON  [dbo].[BcAccount] TO [MssExec]
GO
Uses
Used By