Views [dbo].[usd_v_container_jobs_a_s]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Created12:38:32 PM Sunday, December 05, 2010
Last Modified12:40:41 PM Sunday, December 05, 2010
Columns
Name
uri
user_uuid
containername
containercomment
agent_name
agent_type
agent_uuid
productname
productversion
object_uuid
task
state
errorcause
errorparam
activationtime
creationtime
completiontime
userparams
packagetype
jobname
procedure
procedureversion
Permissions
TypeActionOwning Principal
GrantSelectams_group
GrantSelectca_itrm_group
GrantSelectca_itrm_group_ams
SQL Script
/************************************************************************
    view     usd_v_container_jobs
    displays the (failed and non-installation) jobs
    of a container.

    view     usd_v_container_jobs_s
    is the security form.
************************************************************************/




/************************************************************************
    view

************************************************************************/



CREATE view usd_v_container_jobs_a_s
(    uri, user_uuid,
    containername, containercomment,
    agent_name, agent_type, agent_uuid,
    productname, productversion,
    object_uuid, task, state,
    errorcause, errorparam,
    activationtime,
    creationtime, completiontime,
    userparams, packagetype,
    jobname, "procedure", procedureversion)


as
select     uri, user_uuid,
    containername, containercomment,
    agent_name, agent_type, agent_uuid,
    productname, productversion,
    object_uuid, task, state,
    errorcause, errorparam,
    activationtime,
    creationtime, completiontime,
    userparams, packagetype,
    jobname, "procedure", procedureversion

from     usd_v_user_dhw_area_sec, usd_v_container_jobs

where    usd_v_user_dhw_area_sec.dhw_uuid
        = usd_v_container_jobs.agent_uuid
GO
GRANT SELECT ON  [dbo].[usd_v_container_jobs_a_s] TO [ams_group]
GRANT SELECT ON  [dbo].[usd_v_container_jobs_a_s] TO [ca_itrm_group]
GRANT SELECT ON  [dbo].[usd_v_container_jobs_a_s] TO [ca_itrm_group_ams]
GO
Uses
Used By