Tables [dbo].[harfileextension]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
Row Count44
Created11:08:00 AM Wednesday, March 07, 2007
Last Modified11:09:55 AM Wednesday, March 07, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKharfileextension: repositobjid\fileextensionForeign Keys HARFILEEXTENSION_REPID_FK: [dbo].[harrepository].repositobjidrepositobjidint4
No
Cluster Primary Key XPKharfileextension: repositobjid\fileextensionfileextensionchar(64)64
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKharfileextension: repositobjid\fileextensionXPKharfileextensionrepositobjid, fileextension
Yes
Foreign Keys Foreign Keys
NameDeleteColumns
HARFILEEXTENSION_REPID_FKCascaderepositobjid->[dbo].[harrepository].[repositobjid]
Permissions
TypeActionOwning Principal
GrantDeleteharvest_group
GrantInsertharvest_group
GrantSelectharvest_group
GrantUpdateharvest_group
GrantSelectharvest_rep
SQL Script
CREATE TABLE [dbo].[harfileextension]
(
[repositobjid] [int] NOT NULL,
[fileextension] [char] (64) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[harfileextension] ADD CONSTRAINT [XPKharfileextension] PRIMARY KEY CLUSTERED ([repositobjid], [fileextension]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[harfileextension] ADD CONSTRAINT [HARFILEEXTENSION_REPID_FK] FOREIGN KEY ([repositobjid]) REFERENCES [dbo].[harrepository] ([repositobjid]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[harfileextension] TO [harvest_group]
GRANT INSERT ON  [dbo].[harfileextension] TO [harvest_group]
GRANT DELETE ON  [dbo].[harfileextension] TO [harvest_group]
GRANT UPDATE ON  [dbo].[harfileextension] TO [harvest_group]
GRANT SELECT ON  [dbo].[harfileextension] TO [harvest_rep]
GO
Uses