DBA Data[Home] [Help]

APPS.BEN_BNB_SHD SQL Statements

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

Line: 64

    select
	bnfts_bal_id,
	effective_start_date,
	effective_end_date,
	name,
	bnfts_bal_usg_cd,
	bnfts_bal_desc,
        uom,
        nnmntry_uom,
	business_group_id,
	bnb_attribute_category,
	bnb_attribute1,
	bnb_attribute2,
	bnb_attribute3,
	bnb_attribute4,
	bnb_attribute5,
	bnb_attribute6,
	bnb_attribute7,
	bnb_attribute8,
	bnb_attribute9,
	bnb_attribute10,
	bnb_attribute11,
	bnb_attribute12,
	bnb_attribute13,
	bnb_attribute14,
	bnb_attribute15,
	bnb_attribute16,
	bnb_attribute17,
	bnb_attribute18,
	bnb_attribute19,
	bnb_attribute20,
	bnb_attribute21,
	bnb_attribute22,
	bnb_attribute23,
	bnb_attribute24,
	bnb_attribute25,
	bnb_attribute26,
	bnb_attribute27,
	bnb_attribute28,
	bnb_attribute29,
	bnb_attribute30,
	object_version_number
    from	ben_bnfts_bal_f
    where	bnfts_bal_id = p_bnfts_bal_id
    and		p_effective_date
    between	effective_start_date and effective_end_date;
Line: 169

	 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: 190

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

	 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: 221

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

  update  ben_bnfts_bal_f t
  set	  t.effective_end_date	  = p_new_effective_end_date,
	  t.object_version_number = l_object_version_number
  where	  t.bnfts_bal_id	  = p_base_key_value
  and	  p_effective_date
  between t.effective_start_date and t.effective_end_date;
Line: 298

    select
	bnfts_bal_id,
	effective_start_date,
	effective_end_date,
	name,
	bnfts_bal_usg_cd,
	bnfts_bal_desc,
        uom,
        nnmntry_uom,
	business_group_id,
	bnb_attribute_category,
	bnb_attribute1,
	bnb_attribute2,
	bnb_attribute3,
	bnb_attribute4,
	bnb_attribute5,
	bnb_attribute6,
	bnb_attribute7,
	bnb_attribute8,
	bnb_attribute9,
	bnb_attribute10,
	bnb_attribute11,
	bnb_attribute12,
	bnb_attribute13,
	bnb_attribute14,
	bnb_attribute15,
	bnb_attribute16,
	bnb_attribute17,
	bnb_attribute18,
	bnb_attribute19,
	bnb_attribute20,
	bnb_attribute21,
	bnb_attribute22,
	bnb_attribute23,
	bnb_attribute24,
	bnb_attribute25,
	bnb_attribute26,
	bnb_attribute27,
	bnb_attribute28,
	bnb_attribute29,
	bnb_attribute30,
	object_version_number
    from    ben_bnfts_bal_f
    where   bnfts_bal_id         = p_bnfts_bal_id
    and	    p_effective_date
    between effective_start_date and effective_end_date
    for update nowait;
Line: 371

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