Tables [dbo].[kpi_process_stats]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CS_AS
Row Count0
Created2:23:20 PM Friday, March 21, 2008
Last Modified2:23:21 PM Friday, March 21, 2008
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKkpi_process_stats: kpi_process_stats_keykpi_process_stats_keybinary(17)17
No
Indexes kpi_process_stats_idx1: log_date\msg_name_keylog_datedatetime8
No
doc_class_keybinary(17)17
No
doc_type_keybinary(17)17
No
doc_name_keybinary(17)17
No
doc_rulebase_dtdatetime8
No
sess_idnvarchar(64)128
Yes
asset_idnvarchar(64)128
Yes
doc_timestampdatetime8
No
Indexes kpi_process_stats_idx1: log_date\msg_name_keymsg_name_keybinary(17)17
No
msg_value_keybinary(17)17
No
p1_name_keybinary(17)17
Yes
p1_value_keybinary(17)17
Yes
p2_name_keybinary(17)17
Yes
p2_value_keybinary(17)17
Yes
p3_name_keybinary(17)17
Yes
p3_value_keybinary(17)17
Yes
p4_name_keybinary(17)17
Yes
p4_value_keybinary(17)17
Yes
p5_name_keybinary(17)17
Yes
p5_value_keybinary(17)17
Yes
p6_name_keybinary(17)17
Yes
p6_value_keybinary(17)17
Yes
p7_name_keybinary(17)17
Yes
p7_value_keybinary(17)17
Yes
p8_name_keybinary(17)17
Yes
p8_value_keybinary(17)17
Yes
p9_name_keybinary(17)17
Yes
p9_value_keybinary(17)17
Yes
p10_name_keybinary(17)17
Yes
p10_value_keybinary(17)17
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKkpi_process_stats: kpi_process_stats_keyXPKkpi_process_statskpi_process_stats_key
Yes
kpi_process_stats_idx1log_date, msg_name_key
Permissions
TypeActionOwning Principal
GrantDeleteaionadmin_group
GrantInsertaionadmin_group
GrantSelectaionadmin_group
GrantUpdateaionadmin_group
SQL Script
CREATE TABLE [dbo].[kpi_process_stats]
(
[kpi_process_stats_key] [binary] (17) NOT NULL,
[log_date] [datetime] NOT NULL,
[doc_class_key] [binary] (17) NOT NULL,
[doc_type_key] [binary] (17) NOT NULL,
[doc_name_key] [binary] (17) NOT NULL,
[doc_rulebase_dt] [datetime] NOT NULL,
[sess_id] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[asset_id] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CS_AS NULL,
[doc_timestamp] [datetime] NOT NULL,
[msg_name_key] [binary] (17) NOT NULL,
[msg_value_key] [binary] (17) NOT NULL,
[p1_name_key] [binary] (17) NULL,
[p1_value_key] [binary] (17) NULL,
[p2_name_key] [binary] (17) NULL,
[p2_value_key] [binary] (17) NULL,
[p3_name_key] [binary] (17) NULL,
[p3_value_key] [binary] (17) NULL,
[p4_name_key] [binary] (17) NULL,
[p4_value_key] [binary] (17) NULL,
[p5_name_key] [binary] (17) NULL,
[p5_value_key] [binary] (17) NULL,
[p6_name_key] [binary] (17) NULL,
[p6_value_key] [binary] (17) NULL,
[p7_name_key] [binary] (17) NULL,
[p7_value_key] [binary] (17) NULL,
[p8_name_key] [binary] (17) NULL,
[p8_value_key] [binary] (17) NULL,
[p9_name_key] [binary] (17) NULL,
[p9_value_key] [binary] (17) NULL,
[p10_name_key] [binary] (17) NULL,
[p10_value_key] [binary] (17) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[kpi_process_stats] ADD CONSTRAINT [XPKkpi_process_stats] PRIMARY KEY CLUSTERED ([kpi_process_stats_key]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [kpi_process_stats_idx1] ON [dbo].[kpi_process_stats] ([log_date], [msg_name_key]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[kpi_process_stats] TO [aionadmin_group]
GRANT INSERT ON  [dbo].[kpi_process_stats] TO [aionadmin_group]
GRANT DELETE ON  [dbo].[kpi_process_stats] TO [aionadmin_group]
GRANT UPDATE ON  [dbo].[kpi_process_stats] TO [aionadmin_group]
GO
Uses