Tables [dbo].[usm_mr_itrend]
Properties
PropertyValue
Row Count4
Created11:07:44 AM Wednesday, March 07, 2007
Last Modified11:09:15 AM Wednesday, March 07, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKusm_mr_itrend: metric_id\service_code\sm_start_time\sm_end_timemetric_idint4
No
Cluster Primary Key XPKusm_mr_itrend: metric_id\service_code\sm_start_time\sm_end_timeservice_codeint4
No
Cluster Primary Key XPKusm_mr_itrend: metric_id\service_code\sm_start_time\sm_end_timesm_start_timedatetime8
No
Cluster Primary Key XPKusm_mr_itrend: metric_id\service_code\sm_start_time\sm_end_timesm_end_timedatetime8
No
statusint4
Yes
row_countint4
Yes
rollup_valuefloat8
Yes
min_valuefloat8
Yes
max_valuefloat8
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKusm_mr_itrend: metric_id\service_code\sm_start_time\sm_end_timeXPKusm_mr_itrendmetric_id, service_code, sm_start_time, sm_end_time
Yes
Permissions
TypeActionOwning Principal
GrantDeleteusmgroup
GrantInsertusmgroup
GrantSelectusmgroup
GrantUpdateusmgroup
SQL Script
CREATE TABLE [dbo].[usm_mr_itrend]
(
[metric_id] [int] NOT NULL,
[service_code] [int] NOT NULL,
[sm_start_time] [datetime] NOT NULL,
[sm_end_time] [datetime] NOT NULL,
[status] [int] NULL,
[row_count] [int] NULL,
[rollup_value] [float] NULL,
[min_value] [float] NULL,
[max_value] [float] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[usm_mr_itrend] ADD CONSTRAINT [XPKusm_mr_itrend] PRIMARY KEY CLUSTERED ([metric_id], [service_code], [sm_start_time], [sm_end_time]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[usm_mr_itrend] TO [usmgroup]
GRANT INSERT ON  [dbo].[usm_mr_itrend] TO [usmgroup]
GRANT DELETE ON  [dbo].[usm_mr_itrend] TO [usmgroup]
GRANT UPDATE ON  [dbo].[usm_mr_itrend] TO [usmgroup]
GO
Uses