Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

select * from Cn_Comp_Plans_All where name = '2023 CS402';

select * from xxg2c.xxg2c_comp_plans_ext where COMP_PLAN_ID = 438549;

select * from Apps.Cn_Quotas_All where name like ('%2023 CS402%'); --Q.TD:258836, --


COMP_PLan Id: 438549

Select
c.name,
a.ELEMENT_WEIGHT,
c.ATTRIBUTE3,
c.ATTRIBUTE9,
b.COMP_PLAN_ID,
c.quota_id FROM XXG2C_quota_weights a, cn_comp_plans_all b, cn_quotas_all c
WHERE a.FY = 2023
AND a.COMP_PLAN_ID = b.COMP_PLAN_ID
AND b.ATTRIBUTE2 IN ('2023 CS402')
AND a.quota_id = c.quota_id
AND c.NAME LIKE ('%2023 CS402 TER-PRO:CX-SVC IACV|NPV%');

insert into xxg2c.xxg2c_quota_weights(


quota_weight_id,
fy,
comp_plan_id,
quota_id,
org_id,
comp_plan_group_code,
org_segment_code,
subcategory_code,
element_weight,
file_upload_id,
creation_date,
created_by)
values(
xxg2c.xxg2c_quota_weights_s.nextval,
2023,
438549,
258836,
82,
'CISCO SALES',
'',
'NA',
30,
11023,
SYSDATE,
-1);
commit;

You might also like