Tables [dbo].[AllocationMaster]
Properties
PropertyValue
Row Count (~)10
Created4:57:09 PM Thursday, September 7, 2006
Last Modified11:13:37 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_AllocationMaster: AMPriKeyAMPriKeyint4
No
1 - 1
Foreign Keys FK_AllocationMaster_RevGroups: [dbo].[RevGroups].RGPriKeyIndexes IX_AllocationMaster_UniqueColumns: RGPriKey\MTGroupPriKeyRGPriKeyint4
Yes
Foreign Keys FK_AllocationMaster_MoveTypeGroups: [dbo].[MoveTypeGroups].MTGroupPriKeyIndexes IX_AllocationMaster_UniqueColumns: RGPriKey\MTGroupPriKeyMTGroupPriKeyint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_AllocationMaster: AMPriKeyPK_AllocationMasterAMPriKey
Yes
80
IX_AllocationMaster_UniqueColumnsRGPriKey, MTGroupPriKey
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_AllocationMaster_MoveTypeGroupsMTGroupPriKey->[dbo].[MoveTypeGroups].[MTGroupPriKey]
FK_AllocationMaster_RevGroupsRGPriKey->[dbo].[RevGroups].[RGPriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AllocationMaster]
(
[AMPriKey] [int] NOT NULL IDENTITY(1, 1),
[RGPriKey] [int] NULL,
[MTGroupPriKey] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AllocationMaster] ADD CONSTRAINT [PK_AllocationMaster] PRIMARY KEY CLUSTERED  ([AMPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AllocationMaster] ADD CONSTRAINT [IX_AllocationMaster_UniqueColumns] UNIQUE NONCLUSTERED  ([RGPriKey], [MTGroupPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AllocationMaster] ADD CONSTRAINT [FK_AllocationMaster_MoveTypeGroups] FOREIGN KEY ([MTGroupPriKey]) REFERENCES [dbo].[MoveTypeGroups] ([MTGroupPriKey])
GO
ALTER TABLE [dbo].[AllocationMaster] ADD CONSTRAINT [FK_AllocationMaster_RevGroups] FOREIGN KEY ([RGPriKey]) REFERENCES [dbo].[RevGroups] ([RGPriKey])
GO
GRANT SELECT ON  [dbo].[AllocationMaster] TO [MssExec]
GRANT INSERT ON  [dbo].[AllocationMaster] TO [MssExec]
GRANT DELETE ON  [dbo].[AllocationMaster] TO [MssExec]
GRANT UPDATE ON  [dbo].[AllocationMaster] TO [MssExec]
GO
Uses
Used By