The following lines contain the word 'select', 'insert', 'update' or 'delete':
select 'Y'
from hxc_time_building_blocks tbb
where tbb.time_building_block_id = p_block_id
and tbb.object_version_number = p_block_ovn;
Function is_updated_block
(p_block in HXC_BLOCK_TYPE)
return BOOLEAN is
l_prev_block hxc_block_type;
End is_updated_block;
select *
from hxc_time_building_blocks
where time_building_block_id = p_time_building_block_id
and object_version_number = p_time_building_block_ovn;