Tables [dbo].[CoUserRights]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created11:24:18 AM Wednesday, May 9, 2018
Last Modified11:24:48 AM Wednesday, May 9, 2018
KeyNameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_CoUserRights: UserID\CompanyID\SecuredObjectIDUserIDchar(8)8
False
Cluster Primary Key PK_CoUserRights: UserID\CompanyID\SecuredObjectIDCompanyIDvarchar(15)15
False
Cluster Primary Key PK_CoUserRights: UserID\CompanyID\SecuredObjectIDSecuredObjectIDvarchar(30)30
False
Rightsint4
False
CreatorIDchar(8)8
False
UpdatorIDchar(8)8
False
CreateDatedatetime8
False
(getdate())
LastUpdatedatetime8
False
(getdate())
timestamptimestamp8
False
KeyNameKey ColumnsUnique
Cluster Primary Key PK_CoUserRights: UserID\CompanyID\SecuredObjectIDPK_CoUserRightsUserID, CompanyID, SecuredObjectID
True
CREATE TABLE [dbo].[CoUserRights]
(
[UserID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CompanyID] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SecuredObjectID] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Rights] [int] 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] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CoUserRights] ADD CONSTRAINT [PK_CoUserRights] PRIMARY KEY CLUSTERED  ([UserID], [CompanyID], [SecuredObjectID]) ON [PRIMARY]
GO