Tables [dbo].[SecurityRequestOrder]
Properties
PropertyValue
Row Count32
Created12:44:45 PM Thursday, October 04, 2007
Last Modified12:44:45 PM Thursday, October 04, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key pk_secrequestorder: toolID\functionIDForeign Keys fk_secrequestorder_tool: [dbo].[Tools].toolIDtoolIDint4
No
Cluster Primary Key pk_secrequestorder: toolID\functionIDForeign Keys fk_secrequestorder_funcs: [dbo].[SecurityToolFunctions].functionIDfunctionIDint4
No
orderbitint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_secrequestorder: toolID\functionIDpk_secrequestordertoolID, functionID
Yes
Foreign Keys Foreign Keys
NameColumns
fk_secrequestorder_funcsfunctionID->[dbo].[SecurityToolFunctions].[functionID]
fk_secrequestorder_tooltoolID->[dbo].[Tools].[toolID]
SQL Script
CREATE TABLE [dbo].[SecurityRequestOrder]
(
[toolID] [int] NOT NULL,
[functionID] [int] NOT NULL,
[orderbit] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SecurityRequestOrder] ADD CONSTRAINT [pk_secrequestorder] PRIMARY KEY CLUSTERED ([toolID], [functionID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SecurityRequestOrder] ADD CONSTRAINT [fk_secrequestorder_funcs] FOREIGN KEY ([functionID]) REFERENCES [dbo].[SecurityToolFunctions] ([functionID])
GO
ALTER TABLE [dbo].[SecurityRequestOrder] ADD CONSTRAINT [fk_secrequestorder_tool] FOREIGN KEY ([toolID]) REFERENCES [dbo].[Tools] ([toolID])
GO
Uses