Tables [dbo].[harnotify]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
Row Count31
Created11:07:16 AM Wednesday, March 07, 2007
Last Modified11:12:23 AM Wednesday, March 07, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKharnotify: processobjidForeign Keys HARNOTIFY_PPID_FK: [dbo].[harlinkedprocess].parentprocobjid\processobjidprocessobjidint4
No
processnamechar(128)128
No
Foreign Keys HARNOTIFY_PPID_FK: [dbo].[harlinkedprocess].parentprocobjid\processobjidparentprocobjidint4
Yes
stateobjidint4
Yes
outputtargetchar(8)8
No
onerroractionchar(8)8
No
creationtimedatetime8
No
creatoridint4
No
modifiedtimedatetime8
No
modifieridint4
No
mailfacilityvarchar(255)255
No
messagevarchar(2000)2000
Yes
notevarchar(2000)2000
Yes
subjectvarchar(1000)1000
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKharnotify: processobjidXPKharnotifyprocessobjid
Yes
Foreign Keys Foreign Keys
NameDeleteColumns
HARNOTIFY_PPID_FKCascadeparentprocobjid->[dbo].[harlinkedprocess].[parentprocobjid]
processobjid->[dbo].[harlinkedprocess].[processobjid]
Permissions
TypeActionOwning Principal
GrantDeleteharvest_group
GrantInsertharvest_group
GrantSelectharvest_group
GrantUpdateharvest_group
GrantSelectharvest_rep
SQL Script
CREATE TABLE [dbo].[harnotify]
(
[processobjid] [int] NOT NULL,
[processname] [char] (128) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[parentprocobjid] [int] NULL,
[stateobjid] [int] NULL,
[outputtarget] [char] (8) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[onerroraction] [char] (8) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[creationtime] [datetime] NOT NULL,
[creatorid] [int] NOT NULL,
[modifiedtime] [datetime] NOT NULL,
[modifierid] [int] NOT NULL,
[mailfacility] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[message] [varchar] (2000) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[note] [varchar] (2000) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[subject] [varchar] (1000) COLLATE SQL_Latin1_General_CP1_CS_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[harnotify] ADD CONSTRAINT [XPKharnotify] PRIMARY KEY CLUSTERED ([processobjid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[harnotify] ADD CONSTRAINT [HARNOTIFY_PPID_FK] FOREIGN KEY ([parentprocobjid], [processobjid]) REFERENCES [dbo].[harlinkedprocess] ([parentprocobjid], [processobjid]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[harnotify] TO [harvest_group]
GRANT INSERT ON  [dbo].[harnotify] TO [harvest_group]
GRANT DELETE ON  [dbo].[harnotify] TO [harvest_group]
GRANT UPDATE ON  [dbo].[harnotify] TO [harvest_group]
GRANT SELECT ON  [dbo].[harnotify] TO [harvest_rep]
GO
Uses