oracle-apps

Trying to know which tables are executed in the oracle external application

有些话、适合烂在心里 提交于 2021-01-28 18:59:48
问题 I wonder if this could be possible or not. I am using TOAD, connected to an oracle database (11g) and i have access to the oracle E-BUSINESS-SUITE application. Basically, i want Toad to trace what sql are being executed by the oracle E-BUSINESS-SUITE application I have this query: SELECT nvl(ses.username,'ORACLE PROC')||' ('||ses.sid||')' USERNAME, SID, MACHINE, REPLACE(SQL.SQL_TEXT,CHR(10),'') STMT, ltrim(to_char(floor(SES.LAST_CALL_ET/3600), '09')) || ':' || ltrim(to_char(floor(mod(SES.LAST

Using CASE statement compare 3 conditions and have the statements executed

痴心易碎 提交于 2019-12-24 21:09:04
问题 I have a requirement where in i'm supposed to take 3 dynamic values from the user and compare with the list of values present based on match of it I need to have conditions to be added to where clause using case statement. select * from MY_DBSOURCE WHERE 1=1 And LP_WHERE_REP = (CASE When :LP = 'LIFESHEILD' AND :M = 'AP' AND :STATUS = 'Processed' THEN flag ='P' and Manual_FLAG = 'P' END) AND DATA_SOURCE IN ('LIFESHIELD') AND DATE_CLOSED >= '15-JUL-2019' AND DATE_CLOSED <= '16-JUL-2019' 回答1:

ORACLE PLS-00201: identifier 'VAT_REGISTER_AP.VAT_REG3' must be declared

送分小仙女□ 提交于 2019-12-12 03:17:09
问题 I am new to oracle EBS. I have defined a concurrent program. Where i am calling package function VAT_REGISTER_AP.Vat_REG3 . Below is the syntax create or replace PACKAGE VAT_REGISTER_AP AS FUnction VAT_REG3--(P_STARTDATE IN DATE,P_EndDate IN Date,P_Legal_Enitity_ID IN NUMBER) RETURN sys_refcursor; END; create or replace PACKAGE BODY VAT_REGISTER_AP AS FUNCTION VAT_REG3--(P_STARTDATE DATE,P_EndDate Date,P_Legal_Enitity_ID IN NUMBER) RETURN sys_refcursor IS R_RET sys_refcursor; BEGIN OPEN R_RET