Tables [dbo].[ARCCustomerContactPhoneNumber]
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_ARCCustomerContactPhoneNumber: ARCCustomerContactPhoneNumberIdARCCustomerContactPhoneNumberIdint4
No
1 - 1
Foreign Keys FK_ARCCustomerContactPhoneNumber_CountryCodeStandard: [dbo].[CountryCodeStandard].CountryCodeStandardFIDCountryCodeStandardFIDint4
Yes
AreaCode[dbo].[PhoneAreaCode]4
Yes
LocalNumber[dbo].[PhoneLocalNumber]20
Yes
Extension[dbo].[PhoneExtension]10
Yes
Foreign Keys FK_ARCCustomerContactPhoneNumber_ARCCustomerContact: [dbo].[ARCCustomerContact].ARCCustomerContactFidIndexes IX_ARCCustomerContactPhoneNumber_ContactAndPhoneType: ARCCustomerContactFid\ARCCustomerContactPhoneTypeFidARCCustomerContactFidint4
No
Foreign Keys FK_ARCCustomerContactPhoneNumber_ARCCustomerContactPhoneType: [dbo].[ARCCustomerContactPhoneType].ARCCustomerContactPhoneTypeFidIndexes IX_ARCCustomerContactPhoneNumber_ContactAndPhoneType: ARCCustomerContactFid\ARCCustomerContactPhoneTypeFidARCCustomerContactPhoneTypeFidint4
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_ARCCustomerContactPhoneNumber: ARCCustomerContactPhoneNumberIdPK_ARCCustomerContactPhoneNumberARCCustomerContactPhoneNumberId
Yes
IX_ARCCustomerContactPhoneNumber_ContactAndPhoneTypeARCCustomerContactFid, ARCCustomerContactPhoneTypeFid
Yes
Foreign Keys Foreign Keys
NameDeleteColumns
FK_ARCCustomerContactPhoneNumber_ARCCustomerContactCascadeARCCustomerContactFid->[dbo].[ARCCustomerContact].[ARCCustomerContactId]
FK_ARCCustomerContactPhoneNumber_ARCCustomerContactPhoneTypeARCCustomerContactPhoneTypeFid->[dbo].[ARCCustomerContactPhoneType].[ARCCustomerContactPhoneTypeId]
FK_ARCCustomerContactPhoneNumber_CountryCodeStandardCountryCodeStandardFID->[dbo].[CountryCodeStandard].[CountryCodeStandardID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ARCCustomerContactPhoneNumber]
(
[ARCCustomerContactPhoneNumberId] [int] NOT NULL IDENTITY(1, 1),
[CountryCodeStandardFID] [int] NULL,
[AreaCode] [dbo].[PhoneAreaCode] NULL,
[LocalNumber] [dbo].[PhoneLocalNumber] NULL,
[Extension] [dbo].[PhoneExtension] NULL,
[ARCCustomerContactFid] [int] NOT NULL,
[ARCCustomerContactPhoneTypeFid] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCCustomerContactPhoneNumber] ADD CONSTRAINT [PK_ARCCustomerContactPhoneNumber] PRIMARY KEY NONCLUSTERED  ([ARCCustomerContactPhoneNumberId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCCustomerContactPhoneNumber] ADD CONSTRAINT [IX_ARCCustomerContactPhoneNumber_ContactAndPhoneType] UNIQUE NONCLUSTERED  ([ARCCustomerContactFid], [ARCCustomerContactPhoneTypeFid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCCustomerContactPhoneNumber] ADD CONSTRAINT [FK_ARCCustomerContactPhoneNumber_ARCCustomerContact] FOREIGN KEY ([ARCCustomerContactFid]) REFERENCES [dbo].[ARCCustomerContact] ([ARCCustomerContactId]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[ARCCustomerContactPhoneNumber] ADD CONSTRAINT [FK_ARCCustomerContactPhoneNumber_ARCCustomerContactPhoneType] FOREIGN KEY ([ARCCustomerContactPhoneTypeFid]) REFERENCES [dbo].[ARCCustomerContactPhoneType] ([ARCCustomerContactPhoneTypeId])
GO
ALTER TABLE [dbo].[ARCCustomerContactPhoneNumber] ADD CONSTRAINT [FK_ARCCustomerContactPhoneNumber_CountryCodeStandard] FOREIGN KEY ([CountryCodeStandardFID]) REFERENCES [dbo].[CountryCodeStandard] ([CountryCodeStandardID])
GO
GRANT SELECT ON  [dbo].[ARCCustomerContactPhoneNumber] TO [MssExec]
GRANT INSERT ON  [dbo].[ARCCustomerContactPhoneNumber] TO [MssExec]
GRANT DELETE ON  [dbo].[ARCCustomerContactPhoneNumber] TO [MssExec]
GRANT UPDATE ON  [dbo].[ARCCustomerContactPhoneNumber] TO [MssExec]
GO
Uses
Used By