Tables [dbo].[AuthorityTypes]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)2
Created4:57:07 PM Thursday, September 7, 2006
Last Modified9:15:15 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefaultDescription
Cluster Primary Key PK_AUTHORITYTYPES: AuthPriKeyAuthPriKeyint4
No
1 - 1
Indexes IX_AuthorityTypes_Description: DescriptionDescriptionvarchar(30)30
No
GLNumbervarchar(10)10
Yes
InterCompanybit1
Yes
(0)Set to 1 if inter-company is active.
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_AUTHORITYTYPES: AuthPriKeyPK_AUTHORITYTYPESAuthPriKey
Yes
80
IX_AuthorityTypes_DescriptionDescription
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AuthorityTypes]
(
[AuthPriKey] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[GLNumber] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[InterCompany] [bit] NULL CONSTRAINT [DF_AuthorityTypes_InterCompany] DEFAULT (0)
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AuthorityTypes] ADD CONSTRAINT [PK_AUTHORITYTYPES] PRIMARY KEY CLUSTERED  ([AuthPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AuthorityTypes] ADD CONSTRAINT [IX_AuthorityTypes_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[AuthorityTypes] TO [MssExec]
GRANT INSERT ON  [dbo].[AuthorityTypes] TO [MssExec]
GRANT DELETE ON  [dbo].[AuthorityTypes] TO [MssExec]
GRANT UPDATE ON  [dbo].[AuthorityTypes] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Set to 1 if inter-company is active.', 'SCHEMA', N'dbo', 'TABLE', N'AuthorityTypes', 'COLUMN', N'InterCompany'
GO
Uses
Used By