The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT party_name, party_number
FROM hz_parties
WHERE party_id = l_party_id
AND party_type = 'ORGANIZATION';
SELECT generate_customer_number INTO l_gen_cust_num FROM ar_system_parameters;
SELECT cust_acct_site_id
FROM hz_cust_acct_sites
WHERE cust_account_id = l_Account_Id
AND party_site_id = l_Site_Id;
SELECT site_use_id
FROM hz_cust_site_uses
WHERE cust_acct_site_id = l_acct_site_id
AND site_use_code = l_site_type;
SELECT party_site_use_id
FROM hz_party_site_uses
WHERE party_site_id = l_party_site_id
AND site_use_type = l_Site_type;
Select hzl.city
From hz_locations hzl,hz_party_sites hps
Where hps.party_site_id = l_party_site_id
And hzl.location_id = hps.location_id;
SELECT AUTO_SITE_NUMBERING INTO l_profile FROM AR_SYSTEM_PARAMETERS;
SELECT responsibility_id
FROM hz_role_responsibility
WHERE cust_account_role_id = role_id
AND responsibility_type = resp_type;
SELECT cust_account_id
FROM hz_cust_accounts
WHERE party_id = l_Party_Id
and status = 'A';
select a.site_use_id, a.cust_acct_site_id
from hz_cust_site_uses a, hz_cust_acct_sites b
where b.cust_account_id = p_cust_account_id
and b.party_site_id = p_party_site_id
and a.cust_acct_site_id = b.cust_acct_site_id
and a.site_use_code = p_acct_site_type
and a.status = 'A'
and b.status = 'A';
select a.cust_account_role_id
from hz_cust_account_roles a, hz_cust_acct_sites c
where a.role_type = 'CONTACT'
and a.party_id = p_contact_party_id
and a.cust_account_id = p_cust_account_id
and a.cust_acct_site_id = c.cust_acct_site_id
and c.cust_acct_site_id = p_cust_account_site_id
and a.cust_account_id = c.cust_account_id
and c.status = 'A'
and a.status = 'A';
SELECT site_use_type_id FROM HZ_SITE_USE_TYPES
WHERE name = p_type_name;*/