Tables [dbo].[inv_performance_item]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count606
Created11:07:17 AM Wednesday, March 07, 2007
Last Modified11:09:39 AM Wednesday, March 07, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKinv_performance_item: object_uuid\item_name_id\item_parent_idobject_uuidbinary(16)16
No
Cluster Primary Key XPKinv_performance_item: object_uuid\item_name_id\item_parent_iditem_parent_idint4
No
Cluster Primary Key XPKinv_performance_item: object_uuid\item_name_id\item_parent_idIndexes inv_performance_item_idx0: item_parent_name_id\item_name_id\item_root_name_iditem_name_idint4
No
item_root_idint4
Yes
Indexes inv_performance_item_idx0: item_parent_name_id\item_name_id\item_root_name_iditem_root_name_idint4
Yes
Indexes inv_performance_item_idx0: item_parent_name_id\item_name_id\item_root_name_iditem_parent_name_idint4
Yes
item_indexint4
Yes
item_typeint4
Yes
item_formatint4
Yes
item_value_textnvarchar(384)768
Yes
item_previous_value_textnvarchar(384)768
Yes
item_value_longint4
Yes
item_previous_value_longint4
Yes
item_value_doublefloat8
Yes
item_previous_value_doublefloat8
Yes
item_dateint4
Yes
item_lockint4
Yes
domain_uuidbinary(16)16
Yes
auto_rep_versiontimestamp8
Yes
object_typeint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKinv_performance_item: object_uuid\item_name_id\item_parent_idXPKinv_performance_itemobject_uuid, item_name_id, item_parent_id
Yes
inv_performance_item_idx0item_parent_name_id, item_name_id, item_root_name_id
Permissions
TypeActionOwning Principal
GrantDeleteca_itrm_group
GrantInsertca_itrm_group
GrantSelectaiadmin
GrantSelectca_itrm_group
GrantUpdateca_itrm_group
GrantSelectupmuser_group
GrantSelectamsgroup
GrantSelectca_itrm_group_ams
GrantSelectams_group
SQL Script
CREATE TABLE [dbo].[inv_performance_item]
(
[object_uuid] [binary] (16) NOT NULL,
[item_parent_id] [int] NOT NULL,
[item_name_id] [int] NOT NULL,
[item_root_id] [int] NULL,
[item_root_name_id] [int] NULL,
[item_parent_name_id] [int] NULL,
[item_index] [int] NULL,
[item_type] [int] NULL,
[item_format] [int] NULL,
[item_value_text] [nvarchar] (384) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[item_previous_value_text] [nvarchar] (384) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[item_value_long] [int] NULL,
[item_previous_value_long] [int] NULL,
[item_value_double] [float] NULL,
[item_previous_value_double] [float] NULL,
[item_date] [int] NULL,
[item_lock] [int] NULL,
[domain_uuid] [binary] (16) NULL,
[auto_rep_version] [timestamp] NULL,
[object_type] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[inv_performance_item] ADD CONSTRAINT [XPKinv_performance_item] PRIMARY KEY CLUSTERED ([object_uuid], [item_name_id], [item_parent_id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [inv_performance_item_idx0] ON [dbo].[inv_performance_item] ([item_parent_name_id], [item_name_id], [item_root_name_id]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[inv_performance_item] TO [aiadmin]
GRANT SELECT ON  [dbo].[inv_performance_item] TO [ams_group]
GRANT SELECT ON  [dbo].[inv_performance_item] TO [amsgroup]
GRANT SELECT ON  [dbo].[inv_performance_item] TO [ca_itrm_group]
GRANT INSERT ON  [dbo].[inv_performance_item] TO [ca_itrm_group]
GRANT DELETE ON  [dbo].[inv_performance_item] TO [ca_itrm_group]
GRANT UPDATE ON  [dbo].[inv_performance_item] TO [ca_itrm_group]
GRANT SELECT ON  [dbo].[inv_performance_item] TO [ca_itrm_group_ams]
GRANT SELECT ON  [dbo].[inv_performance_item] TO [upmuser_group]
GO
Uses
Used By