Tables [dbo].[CoUserRights]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:55:48 AM Thursday, March 21, 2019
Last Modified1:10:35 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_CoUserRights: UserID\SecuredObjectIDForeign Keys FK_CoUserRights_UserID_CoUsers: [dbo].[CoUsers].UserIDUserIDchar(8)8
False
Cluster Primary Key PK_CoUserRights: UserID\SecuredObjectIDSecuredObjectIDvarchar(30)30
False
Rightstinyint1
False
Denialstinyint1
False
CreatorIDchar(8)8
False
UpdatorIDchar(8)8
False
CreateDatedatetime8
False
(getdate())
LastUpdatedatetime8
False
(getdate())
timestamptimestamp8
True
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_CoUserRights: UserID\SecuredObjectIDPK_CoUserRightsUserID, SecuredObjectID
True
80
NameColumns
FK_CoUserRights_UserID_CoUsersUserID->[dbo].[CoUsers].[UserID]
CREATE TABLE [dbo].[CoUserRights]
(
[UserID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SecuredObjectID] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Rights] [tinyint] NOT NULL,
[Denials] [tinyint] NOT NULL,
[CreatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[UpdatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_CoUserRights_CreateDate] DEFAULT (getdate()),
[LastUpdate] [datetime] NOT NULL CONSTRAINT [DF_CoUserRights_LastUpdate] DEFAULT (getdate()),
[timestamp] [timestamp] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CoUserRights] ADD CONSTRAINT [PK_CoUserRights] PRIMARY KEY CLUSTERED  ([UserID], [SecuredObjectID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CoUserRights] ADD CONSTRAINT [FK_CoUserRights_UserID_CoUsers] FOREIGN KEY ([UserID]) REFERENCES [dbo].[CoUsers] ([UserID])
GO