Tables [dbo].[harcheckinproc]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
Row Count12
Created11:07:59 AM Wednesday, March 07, 2007
Last Modified11:09:55 AM Wednesday, March 07, 2007
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key XPKharcheckinproc: processobjidForeign Keys HARCHECKINPROC_SPID_FK: [dbo].[harstateprocess].stateobjid\processobjidprocessobjidint4
No
processnamechar(128)128
No
Foreign Keys HARCHECKINPROC_SPID_FK: [dbo].[harstateprocess].stateobjid\processobjidstateobjidint4
No
itemoptionint4
No
pathoptionint4
No
itemnewerchar(1)1
No
modeoptionint4
No
creationtimedatetime8
No
creatoridint4
No
modifiedtimedatetime8
No
modifieridint4
No
viewpathvarchar(255)255
Yes
clientdirvarchar(255)255
Yes
descriptionvarchar(2000)2000
Yes
notevarchar(2000)2000
Yes
neworexistingitemchar(1)1
No
newitemonlychar(1)1
No
existingitemonlychar(1)1
No
deleteaftercichar(1)1
No
owneronlychar(1)1
No
forcecommentchar(1)1
No
('N')
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKharcheckinproc: processobjidXPKharcheckinprocprocessobjid
Yes
Foreign Keys Foreign Keys
NameDeleteColumns
HARCHECKINPROC_SPID_FKCascadestateobjid->[dbo].[harstateprocess].[stateobjid]
processobjid->[dbo].[harstateprocess].[processobjid]
Permissions
TypeActionOwning Principal
GrantDeleteharvest_group
GrantInsertharvest_group
GrantSelectharvest_group
GrantUpdateharvest_group
GrantSelectharvest_rep
SQL Script
CREATE TABLE [dbo].[harcheckinproc]
(
[processobjid] [int] NOT NULL,
[processname] [char] (128) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[stateobjid] [int] NOT NULL,
[itemoption] [int] NOT NULL,
[pathoption] [int] NOT NULL,
[itemnewer] [char] (1) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[modeoption] [int] NOT NULL,
[creationtime] [datetime] NOT NULL,
[creatorid] [int] NOT NULL,
[modifiedtime] [datetime] NOT NULL,
[modifierid] [int] NOT NULL,
[viewpath] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[clientdir] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[description] [varchar] (2000) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[note] [varchar] (2000) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[neworexistingitem] [char] (1) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[newitemonly] [char] (1) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[existingitemonly] [char] (1) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[deleteafterci] [char] (1) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[owneronly] [char] (1) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[forcecomment] [char] (1) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL CONSTRAINT [DF__harchecki__force__072CF7AA] DEFAULT ('N')
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[harcheckinproc] ADD CONSTRAINT [XPKharcheckinproc] PRIMARY KEY CLUSTERED ([processobjid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[harcheckinproc] ADD CONSTRAINT [HARCHECKINPROC_SPID_FK] FOREIGN KEY ([stateobjid], [processobjid]) REFERENCES [dbo].[harstateprocess] ([stateobjid], [processobjid]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[harcheckinproc] TO [harvest_group]
GRANT INSERT ON  [dbo].[harcheckinproc] TO [harvest_group]
GRANT DELETE ON  [dbo].[harcheckinproc] TO [harvest_group]
GRANT UPDATE ON  [dbo].[harcheckinproc] TO [harvest_group]
GRANT SELECT ON  [dbo].[harcheckinproc] TO [harvest_rep]
GO
Uses