Tables [dbo].[BcAccount]
Properties
PropertyValue
Row Count (~)0
Created7:49:20 PM Saturday, February 7, 2026
Last Modified7:49:23 PM Saturday, February 7, 2026
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_BcAccount: BcAccountIdCluster Key IX_BcAccount_BcId: BcAccountIdBcAccountIdint4
No
1 - 1
BcIduniqueidentifier16
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: BcAccountIdIX_BcAccount_BcIdBcAccountId
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  ([BcAccountId]) 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