Tables [dbo].[ci_actions]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count10
Created11:07:06 AM Wednesday, March 07, 2007
Last Modified9:08:43 PM Friday, December 05, 2008
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKci_actions: idIndexes ci_actions_x0: id\wf_template_ididint4
No
Indexes ci_actions_x0: id\wf_template_idwf_template_idint4
Yes
action_titlenvarchar(100)200
Yes
Indexes ci_actions_x3: group_idgroup_idbinary(16)16
Yes
Indexes ci_actions_x2: analyst_idanalyst_idbinary(16)16
Yes
Indexes ci_actions_x1: action_orderaction_orderint4
Yes
predefinedint4
Yes
Indexes ci_actions_x4: status_current_idstatus_current_idint4
Yes
Indexes ci_actions_x5: unpublishunpublishint4
Yes
Indexes ci_actions_x6: unretireunretireint4
Yes
last_mod_dtint4
Yes
last_mod_bybinary(16)16
Yes
Indexes ci_actions_x7: tenanttenantbinary(16)16
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKci_actions: idXPKci_actionsid
Yes
ci_actions_x0id, wf_template_id
Yes
ci_actions_x1action_order
ci_actions_x2analyst_id
ci_actions_x3group_id
ci_actions_x4status_current_id
ci_actions_x5unpublish
ci_actions_x6unretire
ci_actions_x7tenant
Permissions
TypeActionOwning Principal
GrantDeleteservice_desk_admin_group
GrantInsertservice_desk_admin_group
GrantSelectservice_desk_admin_group
GrantUpdateservice_desk_admin_group
SQL Script
CREATE TABLE [dbo].[ci_actions]
(
[id] [int] NOT NULL,
[wf_template_id] [int] NULL,
[action_title] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[group_id] [binary] (16) NULL,
[analyst_id] [binary] (16) NULL,
[action_order] [int] NULL,
[predefined] [int] NULL,
[status_current_id] [int] NULL,
[unpublish] [int] NULL,
[unretire] [int] NULL,
[last_mod_dt] [int] NULL,
[last_mod_by] [binary] (16) NULL,
[tenant] [binary] (16) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ci_actions] ADD CONSTRAINT [XPKci_actions] PRIMARY KEY CLUSTERED ([id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ci_actions_x1] ON [dbo].[ci_actions] ([action_order]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ci_actions_x2] ON [dbo].[ci_actions] ([analyst_id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ci_actions_x3] ON [dbo].[ci_actions] ([group_id]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [ci_actions_x0] ON [dbo].[ci_actions] ([id], [wf_template_id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ci_actions_x4] ON [dbo].[ci_actions] ([status_current_id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ci_actions_x7] ON [dbo].[ci_actions] ([tenant]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ci_actions_x5] ON [dbo].[ci_actions] ([unpublish]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ci_actions_x6] ON [dbo].[ci_actions] ([unretire]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[ci_actions] TO [service_desk_admin_group]
GRANT INSERT ON  [dbo].[ci_actions] TO [service_desk_admin_group]
GRANT DELETE ON  [dbo].[ci_actions] TO [service_desk_admin_group]
GRANT UPDATE ON  [dbo].[ci_actions] TO [service_desk_admin_group]
GO
Uses