Tables [dbo].[harnotifylist]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
HeapYes
Row Count36
Created11:08:00 AM Wednesday, March 07, 2007
Last Modified11:12:24 AM Wednesday, March 07, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Foreign Keys HARNOTIFYLIST_PPID_FK: [dbo].[harlinkedprocess].parentprocobjid\processobjidIndexes baseidx_harnotifylist: processobjid\parentprocobjid\stateobjid\isgroup\usrobjid\usrgrpobjidIndexes HARNOTIFYLIST_IND: processobjid\stateobjid\parentprocobjid\isgroup\usrobjid\usrgrpobjidIndexes harnotifylist_spid_ind: stateobjid\processobjidprocessobjidint4
No
Foreign Keys HARNOTIFYLIST_PPID_FK: [dbo].[harlinkedprocess].parentprocobjid\processobjidIndexes baseidx_harnotifylist: processobjid\parentprocobjid\stateobjid\isgroup\usrobjid\usrgrpobjidIndexes HARNOTIFYLIST_IND: processobjid\stateobjid\parentprocobjid\isgroup\usrobjid\usrgrpobjidparentprocobjidint4
Yes
Indexes baseidx_harnotifylist: processobjid\parentprocobjid\stateobjid\isgroup\usrobjid\usrgrpobjidIndexes HARNOTIFYLIST_IND: processobjid\stateobjid\parentprocobjid\isgroup\usrobjid\usrgrpobjidIndexes harnotifylist_spid_ind: stateobjid\processobjidstateobjidint4
Yes
Indexes baseidx_harnotifylist: processobjid\parentprocobjid\stateobjid\isgroup\usrobjid\usrgrpobjidIndexes HARNOTIFYLIST_IND: processobjid\stateobjid\parentprocobjid\isgroup\usrobjid\usrgrpobjidisgroupchar(1)1
No
Foreign Keys HARNOTIFYLIST_USRID_FK: [dbo].[haruser].usrobjidIndexes baseidx_harnotifylist: processobjid\parentprocobjid\stateobjid\isgroup\usrobjid\usrgrpobjidIndexes HARNOTIFYLIST_IND: processobjid\stateobjid\parentprocobjid\isgroup\usrobjid\usrgrpobjidIndexes harnotifylist_usrid_ind: usrobjidusrobjidint4
Yes
Foreign Keys HARNOTIFYLIST_USRGRPID_FK: [dbo].[harusergroup].usrgrpobjidIndexes baseidx_harnotifylist: processobjid\parentprocobjid\stateobjid\isgroup\usrobjid\usrgrpobjidIndexes HARNOTIFYLIST_IND: processobjid\stateobjid\parentprocobjid\isgroup\usrobjid\usrgrpobjidIndexes harnotifylist_usrgrp_ind: usrgrpobjidusrgrpobjidint4
Yes
Indexes Indexes
NameColumnsUnique
baseidx_harnotifylistprocessobjid, parentprocobjid, stateobjid, isgroup, usrobjid, usrgrpobjid
Yes
HARNOTIFYLIST_INDprocessobjid, stateobjid, parentprocobjid, isgroup, usrobjid, usrgrpobjid
Yes
harnotifylist_spid_indstateobjid, processobjid
harnotifylist_usrgrp_indusrgrpobjid
harnotifylist_usrid_indusrobjid
Foreign Keys Foreign Keys
NameDeleteColumns
HARNOTIFYLIST_PPID_FKCascadeparentprocobjid->[dbo].[harlinkedprocess].[parentprocobjid]
processobjid->[dbo].[harlinkedprocess].[processobjid]
HARNOTIFYLIST_USRGRPID_FKCascadeusrgrpobjid->[dbo].[harusergroup].[usrgrpobjid]
HARNOTIFYLIST_USRID_FKCascadeusrobjid->[dbo].[haruser].[usrobjid]
Permissions
TypeActionOwning Principal
GrantDeleteharvest_group
GrantInsertharvest_group
GrantSelectharvest_group
GrantUpdateharvest_group
GrantSelectharvest_rep
SQL Script
CREATE TABLE [dbo].[harnotifylist]
(
[processobjid] [int] NOT NULL,
[parentprocobjid] [int] NULL,
[stateobjid] [int] NULL,
[isgroup] [char] (1) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[usrobjid] [int] NULL,
[usrgrpobjid] [int] NULL
) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [baseidx_harnotifylist] ON [dbo].[harnotifylist] ([processobjid], [parentprocobjid], [stateobjid], [isgroup], [usrobjid], [usrgrpobjid]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [HARNOTIFYLIST_IND] ON [dbo].[harnotifylist] ([processobjid], [stateobjid], [parentprocobjid], [isgroup], [usrobjid], [usrgrpobjid]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [harnotifylist_spid_ind] ON [dbo].[harnotifylist] ([stateobjid], [processobjid]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [harnotifylist_usrgrp_ind] ON [dbo].[harnotifylist] ([usrgrpobjid]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [harnotifylist_usrid_ind] ON [dbo].[harnotifylist] ([usrobjid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[harnotifylist] ADD CONSTRAINT [HARNOTIFYLIST_PPID_FK] FOREIGN KEY ([parentprocobjid], [processobjid]) REFERENCES [dbo].[harlinkedprocess] ([parentprocobjid], [processobjid]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[harnotifylist] ADD CONSTRAINT [HARNOTIFYLIST_USRGRPID_FK] FOREIGN KEY ([usrgrpobjid]) REFERENCES [dbo].[harusergroup] ([usrgrpobjid]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[harnotifylist] ADD CONSTRAINT [HARNOTIFYLIST_USRID_FK] FOREIGN KEY ([usrobjid]) REFERENCES [dbo].[haruser] ([usrobjid]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[harnotifylist] TO [harvest_group]
GRANT INSERT ON  [dbo].[harnotifylist] TO [harvest_group]
GRANT DELETE ON  [dbo].[harnotifylist] TO [harvest_group]
GRANT UPDATE ON  [dbo].[harnotifylist] TO [harvest_group]
GRANT SELECT ON  [dbo].[harnotifylist] TO [harvest_rep]
GO
Uses