Views [dbo].[arg_entitlement_summary_view]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Created10:33:20 PM Thursday, February 10, 2011
Last Modified10:33:20 PM Thursday, February 10, 2011
Columns
Name
own_resource_uuid
license_count
entitlement_count
variance
Permissions
TypeActionOwning Principal
GrantSelectswcmadmin
SQL Script
CREATE VIEW dbo.arg_entitlement_summary_view
AS
SELECT a.own_resource_uuid, isnull(b.license_count, 0) license_count, isnull(c.entitlement_count, 0) entitlement_count, isnull(b.license_count, 0) - isnull(c.entitlement_count, 0) variance
FROM ca_owned_resource a left outer join ca_software_license b on a.license_uuid=b.license_uuid   left outer join arg_entitlement_count_view as c on a.own_resource_uuid = c.object_uuid
GO
GRANT SELECT ON  [dbo].[arg_entitlement_summary_view] TO [swcmadmin]
GO
Uses