Hi all, I am facing this issue. I have been working for so long, still no solution on horizon. Can anyone please help me.
I have the following query.
select
lth.AccountingMonth_Id
,lth.Calendar_Id
from FND_FPER_WORKDB.COMM_loadtrackinghistory as lth) as A
join
(select PS.Transaction_Cd,
,PS.Source_Cd
,PS.Status_Cd
,PS.Policy_Id
,PS.TransactionReason_Cd
from
FND_CCML_STDDB_COM1.PP_PolicyStatus as PS) as B
ON PS.transaction_ts= lth.lastprocessed_dt
and source_cd='ABCD'
and lth.flow_Cd ='ABCD_jack'
join (select Policy.Agent_Id,
Policy.BasePolicy_Id
,Policy.PolicyBusinessKey_Id
from FND_fper_db_com1.Basepolicy Policy) as C
ON PS.Policy_Id = Policy.Policy_Id
AND PS.Source_Cd = Policy.Source_Cd
AND PS.Transaction_Ts >= Policy.Transaction_Ts
AND PS.Transaction_Ts < Policy.Revision_Ts
when I run this, I get an error saying syntax error: expected something between the word 'lth' and ')'. can anyone please shed some lights on this. Thank you!
Hi all, I am facing this issue. I have been working for so long, still no solution on horizon. Can anyone please help me.
I have the following query.
select
lth.AccountingMonth_Id
,lth.Calendar_Id
from FND_FPER_WORKDB.COMM_loadtrackinghistory as lth) as A
join
(select PS.Transaction_Cd,
,PS.Source_Cd
,PS.Status_Cd
,PS.Policy_Id
,PS.TransactionReason_Cd
from
FND_CCML_STDDB_COM1.PP_PolicyStatus as PS) as B
ON PS.transaction_ts= lth.lastprocessed_dt
and source_cd='ABCD'
and lth.flow_Cd ='ABCD_jack'
join (select Policy.Agent_Id,
Policy.BasePolicy_Id
,Policy.PolicyBusinessKey_Id
from FND_fper_db_com1.Basepolicy Policy) as C
ON PS.Policy_Id = Policy.Policy_Id
AND PS.Source_Cd = Policy.Source_Cd
AND PS.Transaction_Ts >= Policy.Transaction_Ts
AND PS.Transaction_Ts < Policy.Revision_Ts
when I run this, I get an error saying syntax error: expected something between the word 'lth' and ')'. can anyone please shed some lights on this. Thank you!