Tables [dbo].[CoSecurityResourceRights]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:57:06 AM Thursday, March 21, 2019
Last Modified1:10:35 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_CoSecurityResourceRights: IDIDint4
False
ViewRightsFlagbigint8
False
ModifyRightsFlagbigint8
False
Foreign Keys FK_CoSecurityResourceRights_FormID_SHInterfaceObjects: [dbo].[SHInterfaceObjects].FormIDFormIDint4
False
Foreign Keys FK_CoSecurityResourceRights_ParentID_CoSecurityResourceRights: [dbo].[CoSecurityResourceRights].ParentIDParentIDint4
True
ResourceStringIDnvarchar(100)200
False
SortOrderint4
False
CreateDatedatetime8
False
(getutcdate())
LastUpdatedatetime8
False
(getutcdate())
timestamptimestamp8
True
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_CoSecurityResourceRights: IDPK_CoSecurityResourceRightsID
True
80
NameColumns
FK_CoSecurityResourceRights_FormID_SHInterfaceObjectsFormID->[dbo].[SHInterfaceObjects].[InterfaceObjectID]
FK_CoSecurityResourceRights_ParentID_CoSecurityResourceRightsParentID->[dbo].[CoSecurityResourceRights].[ID]
CREATE TABLE [dbo].[CoSecurityResourceRights]
(
[ID] [int] NOT NULL,
[ViewRightsFlag] [bigint] NOT NULL,
[ModifyRightsFlag] [bigint] NOT NULL,
[FormID] [int] NOT NULL,
[ParentID] [int] NULL,
[ResourceStringID] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SortOrder] [int] NOT NULL,
[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_CoSecurityResourceRights_CreateDate] DEFAULT (getutcdate()),
[LastUpdate] [datetime] NOT NULL CONSTRAINT [DF_CoSecurityResourceRights_LastUpdate] DEFAULT (getutcdate()),
[timestamp] [timestamp] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CoSecurityResourceRights] ADD CONSTRAINT [PK_CoSecurityResourceRights] PRIMARY KEY CLUSTERED  ([ID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CoSecurityResourceRights] ADD CONSTRAINT [FK_CoSecurityResourceRights_FormID_SHInterfaceObjects] FOREIGN KEY ([FormID]) REFERENCES [dbo].[SHInterfaceObjects] ([InterfaceObjectID])
GO
ALTER TABLE [dbo].[CoSecurityResourceRights] ADD CONSTRAINT [FK_CoSecurityResourceRights_ParentID_CoSecurityResourceRights] FOREIGN KEY ([ParentID]) REFERENCES [dbo].[CoSecurityResourceRights] ([ID])
GO