Tables [dbo].[PortalComponents]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count2
Created12:44:45 PM Thursday, October 04, 2007
Last Modified12:44:45 PM Thursday, October 04, 2007
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key pk_portalcomps: componentIDcomponentIDint4
No
1 - 1
Foreign Keys fk_portalcomps_div: [dbo].[Divisions].divisionIDdivisionIDint4
No
namenvarchar(50)100
No
URLnvarchar(255)510
No
beforeLoginint4
Yes
((1))
afterLoginint4
Yes
((1))
beforeProbDefint4
Yes
((1))
afterProbDefint4
Yes
((1))
displayColumnint4
Yes
displayIndexint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_portalcomps: componentIDpk_portalcompscomponentID
Yes
Foreign Keys Foreign Keys
NameColumns
fk_portalcomps_divdivisionID->[dbo].[Divisions].[divisionID]
SQL Script
CREATE TABLE [dbo].[PortalComponents]
(
[componentID] [int] NOT NULL IDENTITY(1, 1),
[divisionID] [int] NOT NULL,
[name] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[URL] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[beforeLogin] [int] NULL CONSTRAINT [DF__PortalCom__befor__1EA48E88] DEFAULT ((1)),
[afterLogin] [int] NULL CONSTRAINT [DF__PortalCom__after__1F98B2C1] DEFAULT ((1)),
[beforeProbDef] [int] NULL CONSTRAINT [DF__PortalCom__befor__208CD6FA] DEFAULT ((1)),
[afterProbDef] [int] NULL CONSTRAINT [DF__PortalCom__after__2180FB33] DEFAULT ((1)),
[displayColumn] [int] NULL,
[displayIndex] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PortalComponents] ADD CONSTRAINT [pk_portalcomps] PRIMARY KEY CLUSTERED ([componentID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PortalComponents] ADD CONSTRAINT [fk_portalcomps_div] FOREIGN KEY ([divisionID]) REFERENCES [dbo].[Divisions] ([divisionID])
GO
Uses
Used By