Tables [dbo].[AccountProfileContactPhoneType]
This table provides a list of phone types that can be assigned to a national account contact
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)3
Created4:57:05 PM Thursday, September 7, 2006
Last Modified11:13:37 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDescription
Primary Key PK_AccountProfileContactPhoneType: AccountProfileContactPhoneTypeIDAccountProfileContactPhoneTypeIDint4
No
1 - 1Primary key of this table
Indexes IX_AccountProfileContactPhoneType_TypeName: TypeNameTypeNamevarchar(50)50
No
The text description of the phone type to be available for assignment to a national account contact
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_AccountProfileContactPhoneType: AccountProfileContactPhoneTypeIDPK_AccountProfileContactPhoneTypeAccountProfileContactPhoneTypeID
Yes
80
IX_AccountProfileContactPhoneType_TypeNameTypeName
Yes
80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
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
Uses
Used By