Tables [dbo].[ValuationVanlineMap]
Properties
PropertyValue
Row Count (~)27
Created5:34:48 PM Monday, May 4, 2009
Last Modified11:13:44 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_ValuationVanlineMap: ValuationVanlineMapIDValuationVanlineMapIDint4
No
1 - 1
Indexes IX_UniqueValuationVanlineMap_Valuation_Vanline: ValuationFID\VanlineFIDValuationFIDint4
No
Foreign Keys FK_ValuationVanlineMap_VanLine: [dbo].[VanLine].VanlineFIDIndexes IX_UniqueValuationVanlineMap_Valuation_Vanline: ValuationFID\VanlineFIDVanlineFIDint4
No
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_ValuationVanlineMap: ValuationVanlineMapIDPK_ValuationVanlineMapValuationVanlineMapID
Yes
80
IX_UniqueValuationVanlineMap_Valuation_VanlineValuationFID, VanlineFID
Yes
80
Foreign Keys Foreign Keys
NameDeleteColumns
FK_ValuationVanlineMap_VanLineCascadeVanlineFID->[dbo].[VanLine].[VLPriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ValuationVanlineMap]
(
[ValuationVanlineMapID] [int] NOT NULL IDENTITY(1, 1),
[ValuationFID] [int] NOT NULL,
[VanlineFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ValuationVanlineMap] ADD CONSTRAINT [PK_ValuationVanlineMap] PRIMARY KEY CLUSTERED  ([ValuationVanlineMapID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ValuationVanlineMap] ADD CONSTRAINT [IX_UniqueValuationVanlineMap_Valuation_Vanline] UNIQUE NONCLUSTERED  ([ValuationFID], [VanlineFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ValuationVanlineMap] ADD CONSTRAINT [FK_ValuationVanlineMap_VanLine] FOREIGN KEY ([VanlineFID]) REFERENCES [dbo].[VanLine] ([VLPriKey]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[ValuationVanlineMap] TO [MssExec]
GRANT INSERT ON  [dbo].[ValuationVanlineMap] TO [MssExec]
GRANT DELETE ON  [dbo].[ValuationVanlineMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[ValuationVanlineMap] TO [MssExec]
GO
Uses