Tables [dbo].[usp_ci_act_log]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count6
Created4:36:12 PM Wednesday, March 24, 2010
Last Modified4:36:12 PM Wednesday, March 24, 2010
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_usp_ci_act_log: ididint4
No
Indexes usp_ci_act_log_X0: ci_idci_idbinary(16)16
Yes
last_mod_dtint4
Yes
time_spentint4
Yes
Indexes usp_ci_act_log_X1: time_stamp\typetime_stampint4
Yes
system_timeint4
Yes
analystbinary(16)16
Yes
descriptionntextmax
Yes
action_descntextmax
Yes
Indexes usp_ci_act_log_X1: time_stamp\typetypenvarchar(12)24
Yes
internalint4
Yes
mdr_namenvarchar(50)100
Yes
mdr_classnvarchar(50)100
Yes
tenantbinary(16)16
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_usp_ci_act_log: idPK_usp_ci_act_logid
Yes
usp_ci_act_log_X0ci_id
usp_ci_act_log_X1time_stamp, type
Permissions
TypeActionOwning Principal
GrantDeleteservice_desk_admin_group
GrantInsertservice_desk_admin_group
GrantSelectservice_desk_admin_group
GrantUpdateservice_desk_admin_group
GrantSelectservice_desk_ro_group
Extended Properties
NameValue
CommentAdded r12.5
SQL Script
CREATE TABLE [dbo].[usp_ci_act_log]
(
[id] [int] NOT NULL,
[ci_id] [binary] (16) NULL,
[last_mod_dt] [int] NULL,
[time_spent] [int] NULL,
[time_stamp] [int] NULL,
[system_time] [int] NULL,
[analyst] [binary] (16) NULL,
[description] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[action_desc] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[type] [nvarchar] (12) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[internal] [int] NULL,
[mdr_name] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[mdr_class] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[tenant] [binary] (16) NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[usp_ci_act_log] ADD CONSTRAINT [PK_usp_ci_act_log] PRIMARY KEY CLUSTERED ([id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [usp_ci_act_log_X0] ON [dbo].[usp_ci_act_log] ([ci_id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [usp_ci_act_log_X1] ON [dbo].[usp_ci_act_log] ([time_stamp], [type]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[usp_ci_act_log] TO [service_desk_admin_group]
GRANT INSERT ON  [dbo].[usp_ci_act_log] TO [service_desk_admin_group]
GRANT DELETE ON  [dbo].[usp_ci_act_log] TO [service_desk_admin_group]
GRANT UPDATE ON  [dbo].[usp_ci_act_log] TO [service_desk_admin_group]
GRANT SELECT ON  [dbo].[usp_ci_act_log] TO [service_desk_ro_group]
GO
EXEC sp_addextendedproperty N'Comment', N'Added r12.5', 'SCHEMA', N'dbo', 'TABLE', N'usp_ci_act_log', NULL, NULL
GO
Uses