DBA Data[Home] [Help]

APPS.BEN_CBS_SHD SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 69

    select
	prem_cstg_by_sgmt_id,
	effective_start_date,
	effective_end_date,
	sgmt_num,
	sgmt_cstg_mthd_cd,
	sgmt_cstg_mthd_rl,
	business_group_id,
	actl_prem_id,
	cbs_attribute_category,
	cbs_attribute1,
	cbs_attribute2,
	cbs_attribute3,
	cbs_attribute4,
	cbs_attribute5,
	cbs_attribute6,
	cbs_attribute7,
	cbs_attribute8,
	cbs_attribute9,
	cbs_attribute10,
	cbs_attribute11,
	cbs_attribute12,
	cbs_attribute13,
	cbs_attribute14,
	cbs_attribute15,
	cbs_attribute16,
	cbs_attribute17,
	cbs_attribute18,
	cbs_attribute19,
	cbs_attribute20,
	cbs_attribute21,
	cbs_attribute22,
	cbs_attribute23,
	cbs_attribute24,
	cbs_attribute25,
	cbs_attribute26,
	cbs_attribute27,
	cbs_attribute28,
	cbs_attribute29,
	cbs_attribute30,
	object_version_number
    from	ben_prem_cstg_by_sgmt_f
    where	prem_cstg_by_sgmt_id = p_prem_cstg_by_sgmt_id
    and		p_effective_date
    between	effective_start_date and effective_end_date;
Line: 173

	 p_delete	 out nocopy boolean,
	 p_future_change out nocopy boolean,
	 p_delete_next_change out nocopy boolean) is
--
  l_proc 		varchar2(72) 	:= g_package||'find_dt_del_modes';
Line: 182

    select  t.actl_prem_id
    from    ben_prem_cstg_by_sgmt_f t
    where   t.prem_cstg_by_sgmt_id = p_base_key_value
    and     p_effective_date
    between t.effective_start_date and t.effective_end_date;
Line: 212

	 p_delete		=> p_delete,
	 p_future_change	=> p_future_change,
	 p_delete_next_change	=> p_delete_next_change);
Line: 226

	 p_update	 out nocopy boolean,
	 p_update_override out nocopy boolean,
	 p_update_change_insert out nocopy boolean) is
--
  l_proc 	varchar2(72) := g_package||'find_dt_upd_modes';
Line: 243

	 p_update		=> p_update,
	 p_update_override	=> p_update_override,
	 p_update_change_insert	=> p_update_change_insert);
Line: 282

  update  ben_prem_cstg_by_sgmt_f t
  set	  t.effective_end_date	  = p_new_effective_end_date,
	  t.object_version_number = l_object_version_number
  where	  t.prem_cstg_by_sgmt_id	  = p_base_key_value
  and	  p_effective_date
  between t.effective_start_date and t.effective_end_date;
Line: 320

    select
	prem_cstg_by_sgmt_id,
	effective_start_date,
	effective_end_date,
	sgmt_num,
	sgmt_cstg_mthd_cd,
	sgmt_cstg_mthd_rl,
	business_group_id,
	actl_prem_id,
	cbs_attribute_category,
	cbs_attribute1,
	cbs_attribute2,
	cbs_attribute3,
	cbs_attribute4,
	cbs_attribute5,
	cbs_attribute6,
	cbs_attribute7,
	cbs_attribute8,
	cbs_attribute9,
	cbs_attribute10,
	cbs_attribute11,
	cbs_attribute12,
	cbs_attribute13,
	cbs_attribute14,
	cbs_attribute15,
	cbs_attribute16,
	cbs_attribute17,
	cbs_attribute18,
	cbs_attribute19,
	cbs_attribute20,
	cbs_attribute21,
	cbs_attribute22,
	cbs_attribute23,
	cbs_attribute24,
	cbs_attribute25,
	cbs_attribute26,
	cbs_attribute27,
	cbs_attribute28,
	cbs_attribute29,
	cbs_attribute30,
	object_version_number
    from    ben_prem_cstg_by_sgmt_f
    where   prem_cstg_by_sgmt_id         = p_prem_cstg_by_sgmt_id
    and	    p_effective_date
    between effective_start_date and effective_end_date
    for update nowait;
Line: 392

  If (p_datetrack_mode <> 'INSERT') then
    --
    -- We must select and lock the current row.
    --
    Open  C_Sel1;