My Oracle Support Banner

How to Schedule a BI Publisher Report with Dynamic Date Values (Doc ID 1410194.1)

Last updated on JANUARY 28, 2023

Applies to:

BI Publisher (formerly XML Publisher) - Version to Trial [Release 10.1 to 11.1]
Information in this document applies to any platform.


Defined two date parameters:
Today: {$SYSDATE()$} MM-dd-yyyy HH:mm:ss
Yesterday: {$SYSDATE()-1$} MM-dd-yyyy HH:mm:ss
In View mode: they show current date and time:
Today: 02-08-20xx 07:21:14
Yesterday: 02-07-20xx 07:21:14

When submitting a scheduled job, they are fixed at time the job is created,
they are not updated at run time.

How can a scheduled job be created where the date values "yesterday" and "today" are correct
when the report is run, rather than fixed as the values when the schedule was first created?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.