Tables [dbo].[PayType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)3
Created5:34:47 PM Monday, May 4, 2009
Last Modified11:13:44 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDescription
Primary Key PK_PayType: PayTypeIDPayTypeIDint4
No
1 - 1The primary key.
Indexes IX_PayType_PayName: PayNamePayNamevarchar(20)20
No
The description of the pay type.
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_PayType: PayTypeIDPK_PayTypePayTypeID
Yes
80
IX_PayType_PayNamePayName
Yes
80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PayType]
(
[PayTypeID] [int] NOT NULL IDENTITY(1, 1),
[PayName] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PayType] ADD CONSTRAINT [PK_PayType] PRIMARY KEY NONCLUSTERED  ([PayTypeID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PayType] ADD CONSTRAINT [IX_PayType_PayName] UNIQUE NONCLUSTERED  ([PayName]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[PayType] TO [MssExec]
GRANT INSERT ON  [dbo].[PayType] TO [MssExec]
GRANT DELETE ON  [dbo].[PayType] TO [MssExec]
GRANT UPDATE ON  [dbo].[PayType] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'The description of the pay type.', 'SCHEMA', N'dbo', 'TABLE', N'PayType', 'COLUMN', N'PayName'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'PayType', 'COLUMN', N'PayTypeID'
GO
Uses
Used By