Tables [dbo].[arg_itemver]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count0
Created12:30:43 PM Sunday, December 05, 2010
Last Modified5:12:14 PM Tuesday, April 26, 2011
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key xpkarg_itemver: model_uuid\ividForeign Keys ITIVJOIN01: [dbo].[ca_model_def].model_uuidIndexes ivindex02: ivid\model_uuidIndexes ivindex03: model_uuid\ivname\tenantmodel_uuidbinary(16)16
No
Cluster Primary Key xpkarg_itemver: model_uuid\ividIndexes ivindex02: ivid\model_uuidividbigint8
No
Indexes ivindex03: model_uuid\ivname\tenantivnamenvarchar(100)200
Yes
ivavfrdtdatetime8
Yes
ivavtodtdatetime8
Yes
ivsuppdtdatetime8
Yes
ivyear2kdatetime8
Yes
Indexes ivindex04: ivmannbrivmannbrnvarchar(50)100
Yes
creation_usernvarchar(64)128
Yes
creation_dateint4
Yes
last_update_usernvarchar(64)128
Yes
last_update_dateint4
Yes
version_numberint4
Yes
('0')
Foreign Keys IVSDJOIN01: [dbo].[ca_software_def].sw_def_uuidsw_def_uuidbinary(16)16
Yes
Foreign Keys FK_ARG_ITEMVER_TENANT: [dbo].[ca_tenant].tenantIndexes ivindex03: model_uuid\ivname\tenanttenantbinary(16)16
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key xpkarg_itemver: model_uuid\ividxpkarg_itemvermodel_uuid, ivid
Yes
ivindex02ivid, model_uuid
Yes
ivindex03model_uuid, ivname, tenant
Yes
ivindex04ivmannbr
Foreign Keys Foreign Keys
NameColumns
FK_ARG_ITEMVER_TENANTtenant->[dbo].[ca_tenant].[id]
ITIVJOIN01model_uuid->[dbo].[ca_model_def].[model_uuid]
IVSDJOIN01sw_def_uuid->[dbo].[ca_software_def].[sw_def_uuid]
Permissions
TypeActionOwning Principal
GrantDeleteswcmadmin
GrantInsertswcmadmin
GrantSelectamsgroup
GrantSelectca_itrm_group
GrantSelectca_itrm_group_ams
GrantSelectswcmadmin
GrantUpdateswcmadmin
SQL Script
CREATE TABLE [dbo].[arg_itemver]
(
[model_uuid] [binary] (16) NOT NULL,
[ivid] [bigint] NOT NULL,
[ivname] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ivavfrdt] [datetime] NULL,
[ivavtodt] [datetime] NULL,
[ivsuppdt] [datetime] NULL,
[ivyear2k] [datetime] NULL,
[ivmannbr] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[creation_user] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[creation_date] [int] NULL,
[last_update_user] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[last_update_date] [int] NULL,
[version_number] [int] NULL CONSTRAINT [DF__arg_itemv__versi__28B808A7] DEFAULT ('0'),
[sw_def_uuid] [binary] (16) NULL,
[tenant] [binary] (16) NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[arg_itemver] ADD CONSTRAINT [xpkarg_itemver] PRIMARY KEY CLUSTERED ([model_uuid], [ivid]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [ivindex02] ON [dbo].[arg_itemver] ([ivid], [model_uuid]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [ivindex04] ON [dbo].[arg_itemver] ([ivmannbr]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [ivindex03] ON [dbo].[arg_itemver] ([model_uuid], [ivname], [tenant]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[arg_itemver] ADD CONSTRAINT [FK_ARG_ITEMVER_TENANT] FOREIGN KEY ([tenant]) REFERENCES [dbo].[ca_tenant] ([id])
GO
ALTER TABLE [dbo].[arg_itemver] ADD CONSTRAINT [ITIVJOIN01] FOREIGN KEY ([model_uuid]) REFERENCES [dbo].[ca_model_def] ([model_uuid])
GO
ALTER TABLE [dbo].[arg_itemver] ADD CONSTRAINT [IVSDJOIN01] FOREIGN KEY ([sw_def_uuid]) REFERENCES [dbo].[ca_software_def] ([sw_def_uuid])
GO
GRANT SELECT ON  [dbo].[arg_itemver] TO [amsgroup]
GRANT SELECT ON  [dbo].[arg_itemver] TO [ca_itrm_group]
GRANT SELECT ON  [dbo].[arg_itemver] TO [ca_itrm_group_ams]
GRANT SELECT ON  [dbo].[arg_itemver] TO [swcmadmin]
GRANT INSERT ON  [dbo].[arg_itemver] TO [swcmadmin]
GRANT DELETE ON  [dbo].[arg_itemver] TO [swcmadmin]
GRANT UPDATE ON  [dbo].[arg_itemver] TO [swcmadmin]
GO
Uses
Used By