DBA Data[Home] [Help]

APPS.PAY_PGP_SHD SQL Statements

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

Line: 55

    select  pbg.people_group_structure
    from    per_business_groups pbg
    where   pbg.business_group_id = p_business_group_id;
Line: 62

    select pgp.people_group_id,
           pgp.group_name
    from   pay_people_groups pgp
    where  pgp.id_flex_num   = l_id_flex_num
    and    pgp.enabled_flag  = 'Y'
    and   (pgp.segment1      = p_segment1
    or    (pgp.segment1      is null
    and    p_segment1        is null))
    and   (pgp.segment2      = p_segment2
    or    (pgp.segment2      is null
    and    p_segment2        is null))
    and   (pgp.segment3      = p_segment3
    or    (pgp.segment3      is null
    and    p_segment3        is null))
    and   (pgp.segment4      = p_segment4
    or    (pgp.segment4      is null
    and    p_segment4        is null))
    and   (pgp.segment5      = p_segment5
    or    (pgp.segment5      is null
    and    p_segment5        is null))
    and   (pgp.segment6      = p_segment6
    or    (pgp.segment6      is null
    and    p_segment6        is null))
    and   (pgp.segment7      = p_segment7
    or    (pgp.segment7      is null
    and    p_segment7        is null))
    and   (pgp.segment8      = p_segment8
    or    (pgp.segment8      is null
    and    p_segment8        is null))
    and   (pgp.segment9      = p_segment9
    or    (pgp.segment9      is null
    and    p_segment9        is null))
    and   (pgp.segment10     = p_segment10
    or    (pgp.segment10     is null
    and    p_segment10       is null))
    and   (pgp.segment11     = p_segment11
    or    (pgp.segment11     is null
    and    p_segment11       is null))
    and   (pgp.segment12     = p_segment12
    or    (pgp.segment12     is null
    and    p_segment12       is null))
    and   (pgp.segment13     = p_segment13
    or    (pgp.segment13     is null
    and    p_segment13       is null))
    and   (pgp.segment14     = p_segment14
    or    (pgp.segment14      is null
    and    p_segment14       is null))
    and   (pgp.segment15      = p_segment15
    or    (pgp.segment15     is null
    and    p_segment15       is null))
    and   (pgp.segment16     = p_segment16
    or    (pgp.segment16     is null
    and    p_segment16       is null))
    and   (pgp.segment17     = p_segment17
    or    (pgp.segment17     is null
    and    p_segment17       is null))
    and   (pgp.segment18     = p_segment18
    or    (pgp.segment18     is null
    and    p_segment18       is null))
    and   (pgp.segment19     = p_segment19
    or    (pgp.segment19     is null
    and    p_segment19       is null))
    and   (pgp.segment20     = p_segment20
    or    (pgp.segment20     is null
    and    p_segment20       is null))
    and   (pgp.segment21     = p_segment21
    or    (pgp.segment21     is null
    and    p_segment21       is null))
    and   (pgp.segment22     = p_segment22
    or    (pgp.segment22     is null
    and    p_segment22       is null))
    and   (pgp.segment23     = p_segment23
    or    (pgp.segment23     is null
    and    p_segment23       is null))
    and   (pgp.segment24     = p_segment24
    or    (pgp.segment24     is null
    and    p_segment24       is null))
    and   (pgp.segment25     = p_segment25
    or    (pgp.segment25     is null
    and    p_segment25       is null))
    and   (pgp.segment26     = p_segment26
    or    (pgp.segment26     is null
    and    p_segment26       is null))
    and   (pgp.segment27     = p_segment27
    or    (pgp.segment27     is null
    and    p_segment27       is null))
    and   (pgp.segment28     = p_segment28
    or    (pgp.segment28     is null
    and    p_segment28       is null))
    and   (pgp.segment29     = p_segment29
    or    (pgp.segment29     is null
    and    p_segment29       is null))
    and   (pgp.segment30     = p_segment30
    or    (pgp.segment30     is null
    and    p_segment30       is null));
Line: 288

    select
	people_group_id,
	group_name,
	id_flex_num,
	summary_flag,
	enabled_flag,
	start_date_active,
	end_date_active,
	segment1,
	segment2,
	segment3,
	segment4,
	segment5,
	segment6,
	segment7,
	segment8,
	segment9,
	segment10,
	segment11,
	segment12,
	segment13,
	segment14,
	segment15,
	segment16,
	segment17,
	segment18,
	segment19,
	segment20,
	segment21,
	segment22,
	segment23,
	segment24,
	segment25,
	segment26,
	segment27,
	segment28,
	segment29,
	segment30
    from	pay_people_groups
    where	people_group_id = p_people_group_id;