BI Publisher (MOSC)

MOSC Banner

Using sysdate as a column value

Hi all,

Can anyone tell me why the generated xml will not show the system date on the BIP data definition template xml file. In SQL developer the date shows when I run the query

code:

SELECT 4 line_count, 'Number of Entities On - Beginning' row_header, to_char(TRUNC(SYSDATE),'DD-MON-YY') RL_CURRENT_DATE, TO_CHAR(TRUNC(SYSDATE) -1, 'DD-MON-YY') PREVIOUS_DATE, (select COUNT(DISTINCT e_id) AS Previous_Day_RL FROM (
SELECT DISTINCT xrid.e_id
FROM hdr_bkp xrih,
dtl_bkp xrid
WHERE xrih.tin = xrid.e_id
AND run_id = run_id


AND TRUNC(xrid.run_date) = trunc(sysdate)- CASE TO_CHAR ( SYSDATE , 'Dy', 'NLS_DATE_LANGUAGE=ENGLISH')

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center