Tables [dbo].[BcCustomerAddress]
Properties
PropertyValue
Row Count (~)0
Created11:54:52 AM Monday, April 6, 2026
Last Modified11:54:52 AM Monday, April 6, 2026
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_BcCustomerAddress: BcCustomerAddressIdBcCustomerAddressIdint4
No
1 - 1
Indexes IX_BcCustomerAddress_BcId: AccountingCustomerAddressFid\BcIdBcIduniqueidentifier16
No
Foreign Keys FK_BcCustomerAddress_AccountingCustomerAddress: [dbo].[AccountingCustomerAddress].AccountingCustomerAddressFidIndexes IX_BcCustomerAddress_BcId: AccountingCustomerAddressFid\BcIdAccountingCustomerAddressFidint4
No
CreatedOndatetimeoffset10
No
LastImportedOndatetimeoffset10
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_BcCustomerAddress: BcCustomerAddressIdPK_BcCustomerAddressBcCustomerAddressId
Yes
IX_BcCustomerAddress_BcIdAccountingCustomerAddressFid, BcId
Foreign Keys Foreign Keys
NameDeleteColumns
FK_BcCustomerAddress_AccountingCustomerAddressCascadeAccountingCustomerAddressFid->[dbo].[AccountingCustomerAddress].[AccountingCustomerAddressId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[BcCustomerAddress]
(
[BcCustomerAddressId] [int] NOT NULL IDENTITY(1, 1),
[BcId] [uniqueidentifier] NOT NULL,
[AccountingCustomerAddressFid] [int] NOT NULL,
[CreatedOn] [datetimeoffset] NOT NULL,
[LastImportedOn] [datetimeoffset] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcCustomerAddress] ADD CONSTRAINT [PK_BcCustomerAddress] PRIMARY KEY CLUSTERED  ([BcCustomerAddressId]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_BcCustomerAddress_BcId] ON [dbo].[BcCustomerAddress] ([BcId]) INCLUDE ([AccountingCustomerAddressFid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BcCustomerAddress] ADD CONSTRAINT [FK_BcCustomerAddress_AccountingCustomerAddress] FOREIGN KEY ([AccountingCustomerAddressFid]) REFERENCES [dbo].[AccountingCustomerAddress] ([AccountingCustomerAddressId]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[BcCustomerAddress] TO [MssExec]
GRANT INSERT ON  [dbo].[BcCustomerAddress] TO [MssExec]
GRANT DELETE ON  [dbo].[BcCustomerAddress] TO [MssExec]
GRANT UPDATE ON  [dbo].[BcCustomerAddress] TO [MssExec]
GO
Uses
Used By