Tables [dbo].[EquipBranches]
Properties
PropertyValue
Row Count (~)347
Created4:57:07 PM Thursday, September 7, 2006
Last Modified8:55:39 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_EquipBranches: EquipBranchesPriKeyEquipBranchesPriKeyint4
No
1 - 1
Foreign Keys FK_EquipBranches_Equip: [dbo].[Equip].EquipPriKeyEquipPriKeyint4
No
Foreign Keys FK_EquipBranches_Branch: [dbo].[Branch].BranchPriKeyBranchPriKeyint4
No
DefaultBranchsmallint2
No
((0))
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_EquipBranches: EquipBranchesPriKeyPK_EquipBranchesEquipBranchesPriKey
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_EquipBranches_BranchBranchPriKey->[dbo].[Branch].[BranchPriKey]
FK_EquipBranches_EquipEquipPriKey->[dbo].[Equip].[PriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[EquipBranches]
(
[EquipBranchesPriKey] [int] NOT NULL IDENTITY(1, 1),
[EquipPriKey] [int] NOT NULL,
[BranchPriKey] [int] NOT NULL,
[DefaultBranch] [smallint] NOT NULL CONSTRAINT [DF_EquipBranches_DefaultBranch] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[EquipBranches] ADD CONSTRAINT [PK_EquipBranches] PRIMARY KEY CLUSTERED  ([EquipBranchesPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[EquipBranches] ADD CONSTRAINT [FK_EquipBranches_Branch] FOREIGN KEY ([BranchPriKey]) REFERENCES [dbo].[Branch] ([BranchPriKey])
GO
ALTER TABLE [dbo].[EquipBranches] ADD CONSTRAINT [FK_EquipBranches_Equip] FOREIGN KEY ([EquipPriKey]) REFERENCES [dbo].[Equip] ([PriKey])
GO
GRANT SELECT ON  [dbo].[EquipBranches] TO [MssExec]
GRANT INSERT ON  [dbo].[EquipBranches] TO [MssExec]
GRANT DELETE ON  [dbo].[EquipBranches] TO [MssExec]
GRANT UPDATE ON  [dbo].[EquipBranches] TO [MssExec]
GO
Uses
Used By