Tables [dbo].[ClaimPhoneType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)9
Created6:24:59 PM Monday, April 16, 2007
Last Modified11:13:38 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_ClaimPhoneType: ClaimPhoneTypeIDClaimPhoneTypeIDint4
No
1 - 1
Indexes IX_ClaimPhoneType_TypeName: TypeNameTypeNamevarchar(50)50
No
IsDefaultbit1
No
((0))
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_ClaimPhoneType: ClaimPhoneTypeIDPK_ClaimPhoneTypeClaimPhoneTypeID
Yes
80
IX_ClaimPhoneType_TypeNameTypeName
Yes
80
Check Constraints Check Constraints
NameConstraint
CK_ClaimPhoneType_IsDefault((0)=[dbo].[ClaimPhoneTypeDefault]([ClaimPhoneTypeID],[IsDefault]))
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ClaimPhoneType]
(
[ClaimPhoneTypeID] [int] NOT NULL IDENTITY(1, 1),
[TypeName] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsDefault] [bit] NOT NULL CONSTRAINT [DF_ClaimPhoneType_IsDefault] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimPhoneType] ADD CONSTRAINT [CK_ClaimPhoneType_IsDefault] CHECK (((0)=[dbo].[ClaimPhoneTypeDefault]([ClaimPhoneTypeID],[IsDefault])))
GO
ALTER TABLE [dbo].[ClaimPhoneType] ADD CONSTRAINT [PK_ClaimPhoneType] PRIMARY KEY NONCLUSTERED  ([ClaimPhoneTypeID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ClaimPhoneType] ADD CONSTRAINT [IX_ClaimPhoneType_TypeName] UNIQUE NONCLUSTERED  ([TypeName]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[ClaimPhoneType] TO [MssExec]
GRANT INSERT ON  [dbo].[ClaimPhoneType] TO [MssExec]
GRANT DELETE ON  [dbo].[ClaimPhoneType] TO [MssExec]
GRANT UPDATE ON  [dbo].[ClaimPhoneType] TO [MssExec]
GO
Uses
Used By