Views [dbo].[arg_location_view]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnNo
Created7:00:01 PM Tuesday, April 26, 2011
Last Modified7:00:01 PM Tuesday, April 26, 2011
Columns
Name
location_uuid
location_name
inactive
pri_phone_number
fax_number
address_1
address_2
mail_address_1
mail_address_2
mail_address_3
city
state
address_3
mail_address_6
mail_address_5
mail_address_4
address_6
address_5
address_4
primary_contact_uuid
zip
country
county
geo_coord_type
geo_coords
contact_address_flag
creation_user
site_id
creation_date
comments
last_update_user
last_update_date
version_number
exclude_registration
delete_time
location_type_id
parent_location_uuid
organization_uuid
tenant
region_id
company_uuid
Permissions
TypeActionOwning Principal
GrantSelectuapmadmin_group
GrantSelectuapmbatch_group
GrantSelectuapmreporting_group
GrantSelectswcmadmin
SQL Script
SET QUOTED_IDENTIFIER OFF
GO
CREATE VIEW dbo.arg_location_view  AS  SELECT     dbo.ca_location.*, dbo.ca_link_company_location.company_uuid AS company_uuid  FROM         dbo.ca_link_company_location RIGHT OUTER JOIN                        dbo.ca_location ON dbo.ca_link_company_location.location_uuid = dbo.ca_location.location_uuid  WHERE     (dbo.ca_location.parent_location_uuid IS NULL)  

GO
GRANT SELECT ON  [dbo].[arg_location_view] TO [swcmadmin]
GRANT SELECT ON  [dbo].[arg_location_view] TO [uapmadmin_group]
GRANT SELECT ON  [dbo].[arg_location_view] TO [uapmbatch_group]
GRANT SELECT ON  [dbo].[arg_location_view] TO [uapmreporting_group]
GO
Uses