Tables [dbo].[ARCCustomerContactAddress]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created7:48:55 PM Saturday, February 7, 2026
Last Modified7:48:55 PM Saturday, February 7, 2026
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_ARCCustomerContactAddress: ARCCustomerContactAddressIdARCCustomerContactAddressIdint4
No
1 - 1
Foreign Keys FK_ARCCustomerContactAddress_ARCCustomerContact: [dbo].[ARCCustomerContact].ARCCustomerContactFidARCCustomerContactFidint4
No
Foreign Keys FK_ARCCustomerContactAddress_AddressType: [dbo].[AddressType].AddressTypeFidCheck Constraints CK_ARCCustomerContactAddress_AddressType : ([dbo].[GetAddressTypeName]([AddressTypeFid])='Main')AddressTypeFidint4
No
Address1[dbo].[Address]256
Yes
Address2[dbo].[Address]256
Yes
Address3[dbo].[Address]256
Yes
City[dbo].[AddressCity]26
Yes
State[dbo].[AddressState]2
Yes
PostalCode[dbo].[AddressPostalCode]10
Yes
Foreign Keys FK_ARCCustomerContactAddress_CountryCodeStandard: [dbo].[CountryCodeStandard].CountryCodeStandardFidCountryCodeStandardFidint4
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_ARCCustomerContactAddress: ARCCustomerContactAddressIdPK_ARCCustomerContactAddressARCCustomerContactAddressId
Yes
Check Constraints Check Constraints
NameOn ColumnConstraint
CK_ARCCustomerContactAddress_AddressTypeAddressTypeFid([dbo].[GetAddressTypeName]([AddressTypeFid])='Main')
Foreign Keys Foreign Keys
NameDeleteColumns
FK_ARCCustomerContactAddress_AddressTypeAddressTypeFid->[dbo].[AddressType].[AddressTypeID]
FK_ARCCustomerContactAddress_ARCCustomerContactCascadeARCCustomerContactFid->[dbo].[ARCCustomerContact].[ARCCustomerContactId]
FK_ARCCustomerContactAddress_CountryCodeStandardCountryCodeStandardFid->[dbo].[CountryCodeStandard].[CountryCodeStandardID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ARCCustomerContactAddress]
(
[ARCCustomerContactAddressId] [int] NOT NULL IDENTITY(1, 1),
[ARCCustomerContactFid] [int] NOT NULL,
[AddressTypeFid] [int] NOT NULL,
[Address1] [dbo].[Address] NULL,
[Address2] [dbo].[Address] NULL,
[Address3] [dbo].[Address] NULL,
[City] [dbo].[AddressCity] NULL,
[State] [dbo].[AddressState] NULL,
[PostalCode] [dbo].[AddressPostalCode] NULL,
[CountryCodeStandardFid] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCCustomerContactAddress] ADD CONSTRAINT [CK_ARCCustomerContactAddress_AddressType] CHECK (([dbo].[GetAddressTypeName]([AddressTypeFid])='Main'))
GO
ALTER TABLE [dbo].[ARCCustomerContactAddress] ADD CONSTRAINT [PK_ARCCustomerContactAddress] PRIMARY KEY NONCLUSTERED  ([ARCCustomerContactAddressId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCCustomerContactAddress] ADD CONSTRAINT [FK_ARCCustomerContactAddress_AddressType] FOREIGN KEY ([AddressTypeFid]) REFERENCES [dbo].[AddressType] ([AddressTypeID])
GO
ALTER TABLE [dbo].[ARCCustomerContactAddress] ADD CONSTRAINT [FK_ARCCustomerContactAddress_ARCCustomerContact] FOREIGN KEY ([ARCCustomerContactFid]) REFERENCES [dbo].[ARCCustomerContact] ([ARCCustomerContactId]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[ARCCustomerContactAddress] ADD CONSTRAINT [FK_ARCCustomerContactAddress_CountryCodeStandard] FOREIGN KEY ([CountryCodeStandardFid]) REFERENCES [dbo].[CountryCodeStandard] ([CountryCodeStandardID])
GO
GRANT SELECT ON  [dbo].[ARCCustomerContactAddress] TO [MssExec]
GRANT INSERT ON  [dbo].[ARCCustomerContactAddress] TO [MssExec]
GRANT DELETE ON  [dbo].[ARCCustomerContactAddress] TO [MssExec]
GRANT UPDATE ON  [dbo].[ARCCustomerContactAddress] TO [MssExec]
GO
Uses
Used By