Tables [dbo].[FixtureTypes]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created4:57:07 PM Thursday, September 7, 2006
Last Modified11:13:43 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_FixtureTypes: FixtureTypesIDFixtureTypesIDint4
No
1 - 1
FixtureDescriptionvarchar(50)50
No
FixtureValuemoney8
Yes
Foreign Keys FK_FixtureTypes_Manufacturer: [dbo].[Manufacturer].ManufacturerIDManufacturerIDint4
No
NumberOfPiecesint4
Yes
InstallationChargemoney8
Yes
Weightint4
Yes
Lengthint4
Yes
Heightint4
Yes
FixtureNumbervarchar(20)20
Yes
Widthint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_FixtureTypes: FixtureTypesIDPK_FixtureTypesFixtureTypesID
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_FixtureTypes_ManufacturerManufacturerID->[dbo].[Manufacturer].[ManufacturerID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
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
Uses
Used By