Tables [dbo].[Roles]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count2
Created12:44:45 PM Thursday, October 04, 2007
Last Modified12:44:46 PM Thursday, October 04, 2007
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key pk_roles: roleIDroleIDint4
No
1 - 1
roleNamenvarchar(100)200
Yes
showProbTreeint4
Yes
((1))
isAgentint4
Yes
((0))
defaultSecurityGroupint4
Yes
((0))
isAdminint4
Yes
((0))
joinSessionint4
Yes
((0))
allowSecLevelChangeint4
Yes
((1))
isActiveint4
No
((1))
onDeckint4
No
((1))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk_roles: roleIDpk_rolesroleID
Yes
SQL Script
CREATE TABLE [dbo].[Roles]
(
[roleID] [int] NOT NULL IDENTITY(1, 1),
[roleName] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[showProbTree] [int] NULL CONSTRAINT [DF__Roles__showProbT__2A4B4B5E] DEFAULT ((1)),
[isAgent] [int] NULL CONSTRAINT [DF__Roles__isAgent__2B3F6F97] DEFAULT ((0)),
[defaultSecurityGroup] [int] NULL CONSTRAINT [DF__Roles__defaultSe__2C3393D0] DEFAULT ((0)),
[isAdmin] [int] NULL CONSTRAINT [DF__Roles__isAdmin__2D27B809] DEFAULT ((0)),
[joinSession] [int] NULL CONSTRAINT [DF__Roles__joinSessi__2E1BDC42] DEFAULT ((0)),
[allowSecLevelChange] [int] NULL CONSTRAINT [DF__Roles__allowSecL__2F10007B] DEFAULT ((1)),
[isActive] [int] NOT NULL CONSTRAINT [DF__Roles__isActive__300424B4] DEFAULT ((1)),
[onDeck] [int] NOT NULL CONSTRAINT [DF__Roles__onDeck__30F848ED] DEFAULT ((1))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Roles] ADD CONSTRAINT [pk_roles] PRIMARY KEY CLUSTERED ([roleID]) ON [PRIMARY]
GO
Uses
Used By