Tables [dbo].[BcCustomer]
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
Cluster Primary Key PK_BcCustomer: BcCustomerIdBcCustomerIdint4
No
1 - 1
Indexes IX_BcCustomer_BcId: BcIdBcIduniqueidentifier16
No
Foreign Keys FK_BcCustomer_AccountingCustomer: [dbo].[AccountingCustomer].AccountingCustomerFidAccountingCustomerFidint4
No
CreatedOndatetimeoffset10
No
LastImportedOndatetimeoffset10
No
LastUpdatedInBcOndatetimeoffset10
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_BcCustomer: BcCustomerIdPK_BcCustomerBcCustomerId
Yes
IX_BcCustomer_BcIdBcId
Yes
Foreign Keys Foreign Keys
NameDeleteColumns
FK_BcCustomer_AccountingCustomerCascadeAccountingCustomerFid->[dbo].[AccountingCustomer].[AccountingCustomerId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[BcCustomer]
(
[BcCustomerId] [int] NOT NULL IDENTITY(1, 1),
[BcId] [uniqueidentifier] NOT NULL,
[AccountingCustomerFid] [int] NOT NULL,
[CreatedOn] [datetimeoffset] NOT NULL,
[LastImportedOn] [datetimeoffset] NOT NULL,
[LastUpdatedInBcOn] [datetimeoffset] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcCustomer] ADD CONSTRAINT [PK_BcCustomer] PRIMARY KEY CLUSTERED  ([BcCustomerId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcCustomer] ADD CONSTRAINT [IX_BcCustomer_BcId] UNIQUE NONCLUSTERED  ([BcId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcCustomer] ADD CONSTRAINT [FK_BcCustomer_AccountingCustomer] FOREIGN KEY ([AccountingCustomerFid]) REFERENCES [dbo].[AccountingCustomer] ([AccountingCustomerId]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[BcCustomer] TO [MssExec]
GRANT INSERT ON  [dbo].[BcCustomer] TO [MssExec]
GRANT DELETE ON  [dbo].[BcCustomer] TO [MssExec]
GRANT UPDATE ON  [dbo].[BcCustomer] TO [MssExec]
GO
Uses
Used By