CREATE TABLE [dbo].[FixtureTypes]
(
[FixtureTypesID] [int] NOT NULL IDENTITY(1, 1),
[FixtureDescription] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[FixtureValue] [money] NULL,
[ManufacturerID] [int] NOT NULL,
[NumberOfPieces] [int] NULL,
[InstallationCharge] [money] NULL,
[Weight] [int] NULL,
[Length] [int] NULL,
[Height] [int] NULL,
[FixtureNumber] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Width] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[FixtureTypes] ADD CONSTRAINT [PK_FixtureTypes] PRIMARY KEY CLUSTERED ([FixtureTypesID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[FixtureTypes] ADD CONSTRAINT [FK_FixtureTypes_Manufacturer] FOREIGN KEY ([ManufacturerID]) REFERENCES [dbo].[Manufacturer] ([ManufacturerID])
GO
GRANT SELECT ON [dbo].[FixtureTypes] TO [MssExec]
GRANT INSERT ON [dbo].[FixtureTypes] TO [MssExec]
GRANT DELETE ON [dbo].[FixtureTypes] TO [MssExec]
GRANT UPDATE ON [dbo].[FixtureTypes] TO [MssExec]
GO