Tables [dbo].[HAREXECUTABLEACTION]
Properties
PropertyValue
Row Count38
Created4:59:43 AM Monday, March 02, 2009
Last Modified5:00:29 AM Monday, March 02, 2009
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key HAREXECUTABLEACTION_PK: RESOURCETYPEOBJID\ACTIONOBJIDForeign Keys HAREXECUTABLEACTION_RTID_FK: [dbo].[HARRESOURCETYPE].RESOURCETYPEOBJIDRESOURCETYPEOBJIDint4
No
Cluster Primary Key HAREXECUTABLEACTION_PK: RESOURCETYPEOBJID\ACTIONOBJIDForeign Keys HAREXECUTABLEACTION_ACTID_FK: [dbo].[HARACTION].ACTIONOBJIDACTIONOBJIDint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key HAREXECUTABLEACTION_PK: RESOURCETYPEOBJID\ACTIONOBJIDHAREXECUTABLEACTION_PKRESOURCETYPEOBJID, ACTIONOBJID
Yes
Foreign Keys Foreign Keys
NameColumns
HAREXECUTABLEACTION_ACTID_FKACTIONOBJID->[dbo].[HARACTION].[ACTIONOBJID]
HAREXECUTABLEACTION_RTID_FKRESOURCETYPEOBJID->[dbo].[HARRESOURCETYPE].[RESOURCETYPEOBJID]
Extended Properties
NameLevel 2 TypeLevel 2 NameValue
CaptionThe HAREXECUTABLEACTION table stores the identify of the resource type of an auditable action which is the resource or parent resource on which action is executed.
CaptionCOLUMNACTIONOBJIDObject ID identifying the audit action. This column identifies a record in the HARACTION table.
CaptionCOLUMNRESOURCETYPEOBJIDObject ID of the resource type on which the action is executed. For example, for a Create State action this will be the resource type of the project on which the action is executed against. For an Update State action, this will be the resource type of a state object. This column is an index to the HARRESOURCETYPE table.
SQL Script
CREATE TABLE [dbo].[HAREXECUTABLEACTION]
(
[RESOURCETYPEOBJID] [int] NOT NULL,
[ACTIONOBJID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[HAREXECUTABLEACTION] ADD CONSTRAINT [HAREXECUTABLEACTION_PK] PRIMARY KEY CLUSTERED ([RESOURCETYPEOBJID], [ACTIONOBJID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[HAREXECUTABLEACTION] ADD CONSTRAINT [HAREXECUTABLEACTION_ACTID_FK] FOREIGN KEY ([ACTIONOBJID]) REFERENCES [dbo].[HARACTION] ([ACTIONOBJID])
GO
ALTER TABLE [dbo].[HAREXECUTABLEACTION] ADD CONSTRAINT [HAREXECUTABLEACTION_RTID_FK] FOREIGN KEY ([RESOURCETYPEOBJID]) REFERENCES [dbo].[HARRESOURCETYPE] ([RESOURCETYPEOBJID])
GO
EXEC sp_addextendedproperty N'Caption', N'The HAREXECUTABLEACTION table stores the identify of the resource type of an auditable action which is the resource or parent resource on which action is executed. ', 'SCHEMA', N'dbo', 'TABLE', N'HAREXECUTABLEACTION', NULL, NULL
GO
EXEC sp_addextendedproperty N'Caption', N'Object ID identifying the audit action. This column identifies a record in the HARACTION table.', 'SCHEMA', N'dbo', 'TABLE', N'HAREXECUTABLEACTION', 'COLUMN', N'ACTIONOBJID'
GO
EXEC sp_addextendedproperty N'Caption', N'Object ID of the resource type on which the action is executed. For example, for a Create State action this will be the resource type of the project on which the action is executed against. For an Update State action, this will be the resource type of a state object. This column is an index to the HARRESOURCETYPE table.', 'SCHEMA', N'dbo', 'TABLE', N'HAREXECUTABLEACTION', 'COLUMN', N'RESOURCETYPEOBJID'
GO
Uses