[dbo].[AccountProfileContactPhoneType]
This table provides a list of phone types that can be assigned to a national account contact
CREATE TABLE [dbo].[AccountProfileContactPhoneType]
(
[AccountProfileContactPhoneTypeID] [int] NOT NULL IDENTITY(1, 1),
[TypeName] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountProfileContactPhoneType] ADD CONSTRAINT [PK_AccountProfileContactPhoneType] PRIMARY KEY NONCLUSTERED ([AccountProfileContactPhoneTypeID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountProfileContactPhoneType] ADD CONSTRAINT [IX_AccountProfileContactPhoneType_TypeName] UNIQUE NONCLUSTERED ([TypeName]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[AccountProfileContactPhoneType] TO [MssExec]
GRANT INSERT ON [dbo].[AccountProfileContactPhoneType] TO [MssExec]
GRANT DELETE ON [dbo].[AccountProfileContactPhoneType] TO [MssExec]
GRANT UPDATE ON [dbo].[AccountProfileContactPhoneType] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'This table provides a list of phone types that can be assigned to a national account contact', 'SCHEMA', N'dbo', 'TABLE', N'AccountProfileContactPhoneType', NULL, NULL
GO
EXEC sp_addextendedproperty N'MS_Description', N'Primary key of this table', 'SCHEMA', N'dbo', 'TABLE', N'AccountProfileContactPhoneType', 'COLUMN', N'AccountProfileContactPhoneTypeID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The text description of the phone type to be available for assignment to a national account contact', 'SCHEMA', N'dbo', 'TABLE', N'AccountProfileContactPhoneType', 'COLUMN', N'TypeName'
GO