Tables [dbo].[OrderPhoneType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)17
Created4:57:08 PM Thursday, September 7, 2006
Last Modified8:26:26 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_OrderPhoneType: OrderPhoneTypeIDOrderPhoneTypeIDint4
No
1 - 1
Indexes IX_OrderPhoneType_IsShipperPhoneType: IsShipperPhoneType\TypeNameIndexes IX_OrderPhoneNumberType_TypeName: TypeNameTypeNamevarchar(50)50
No
Indexes IX_OrderPhoneType_IsShipperPhoneType: IsShipperPhoneType\TypeNameIsShipperPhoneTypebit1
No
((0))
IsSystemPhoneTypebit1
No
((0))
MobileTypeNamevarchar(6)6
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_OrderPhoneType: OrderPhoneTypeIDPK_OrderPhoneTypeOrderPhoneTypeID
Yes
80
IX_OrderPhoneNumberType_TypeNameTypeName
Yes
80
IX_OrderPhoneType_IsShipperPhoneTypeIsShipperPhoneType, TypeName
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[OrderPhoneType]
(
[OrderPhoneTypeID] [int] NOT NULL IDENTITY(1, 1),
[TypeName] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsShipperPhoneType] [bit] NOT NULL CONSTRAINT [DF_OrderPhoneType_IsShipperPhoneType] DEFAULT ((0)),
[IsSystemPhoneType] [bit] NOT NULL CONSTRAINT [DF_OrderPhoneType_IsSystemPhoneType] DEFAULT ((0)),
[MobileTypeName] [varchar] (6) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[OrderPhoneType] ADD CONSTRAINT [PK_OrderPhoneType] PRIMARY KEY NONCLUSTERED  ([OrderPhoneTypeID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[OrderPhoneType] ADD CONSTRAINT [IX_OrderPhoneNumberType_TypeName] UNIQUE NONCLUSTERED  ([TypeName]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_OrderPhoneType_IsShipperPhoneType] ON [dbo].[OrderPhoneType] ([IsShipperPhoneType], [TypeName]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[OrderPhoneType] TO [MssExec]
GRANT INSERT ON  [dbo].[OrderPhoneType] TO [MssExec]
GRANT DELETE ON  [dbo].[OrderPhoneType] TO [MssExec]
GRANT UPDATE ON  [dbo].[OrderPhoneType] TO [MssExec]
GO
Uses
Used By