Tables [dbo].[usm_request_pending_act_hist]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
Row Count872
Created11:19:31 AM Monday, December 13, 2010
Last Modified5:02:32 PM Monday, April 25, 2011
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKusm_request_pending_act_hi: req_pend_act_hist_idreq_pend_act_hist_idint4
No
Foreign Keys XFK1usm_request_pending_act_hi: [dbo].[usm_request_pending_action].req_pend_act_idreq_pend_act_idint4
No
Foreign Keys XFK2usm_request_pending_act_hi: [dbo].[usm_request_pending_action].reassigned_req_pend_act_idreassigned_req_pend_act_idint4
Yes
action_typeint4
No
modified_bynvarchar(128)256
No
modified_datedatetime8
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKusm_request_pending_act_hi: req_pend_act_hist_idXPKusm_request_pending_act_hireq_pend_act_hist_id
Yes
Foreign Keys Foreign Keys
NameColumns
XFK1usm_request_pending_act_hireq_pend_act_id->[dbo].[usm_request_pending_action].[request_pending_action_id]
XFK2usm_request_pending_act_hireassigned_req_pend_act_id->[dbo].[usm_request_pending_action].[request_pending_action_id]
Permissions
TypeActionOwning Principal
GrantDeleteusmgroup
GrantInsertusmgroup
GrantSelectusmgroup
GrantUpdateusmgroup
SQL Script
CREATE TABLE [dbo].[usm_request_pending_act_hist]
(
[req_pend_act_hist_id] [int] NOT NULL,
[req_pend_act_id] [int] NOT NULL,
[reassigned_req_pend_act_id] [int] NULL,
[action_type] [int] NOT NULL,
[modified_by] [nvarchar] (128) COLLATE SQL_Latin1_General_CP1_CS_AS NOT NULL,
[modified_date] [datetime] NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[usm_request_pending_act_hist] ADD CONSTRAINT [XPKusm_request_pending_act_hi] PRIMARY KEY CLUSTERED ([req_pend_act_hist_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_request_pending_act_hist] ADD CONSTRAINT [XFK1usm_request_pending_act_hi] FOREIGN KEY ([req_pend_act_id]) REFERENCES [dbo].[usm_request_pending_action] ([request_pending_action_id])
GO
ALTER TABLE [dbo].[usm_request_pending_act_hist] ADD CONSTRAINT [XFK2usm_request_pending_act_hi] FOREIGN KEY ([reassigned_req_pend_act_id]) REFERENCES [dbo].[usm_request_pending_action] ([request_pending_action_id])
GO
GRANT SELECT ON  [dbo].[usm_request_pending_act_hist] TO [usmgroup]
GRANT INSERT ON  [dbo].[usm_request_pending_act_hist] TO [usmgroup]
GRANT DELETE ON  [dbo].[usm_request_pending_act_hist] TO [usmgroup]
GRANT UPDATE ON  [dbo].[usm_request_pending_act_hist] TO [usmgroup]
GO
Uses
Used By