Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to override NLS_DATE_FORMAT in the Data Load Page Component?

GasparYYCJun 19 2020 — edited Jun 26 2020

Hi everyone.

Our application has an NLS date format derived from the primary language:

pastedImage_0.png

The problem we are facing is the bank export of transactions that is loaded in the system via Data Loading Component has a different date format.

Currently the users manually specify the format required for the file to be loaded:

pastedImage_2.png

The requirement is to remove the manual specification of the date format to streamline the load process of banking transactions.

The question is:

Is it possible to define/override the global NLS DATE FORMAT on a page or pages for the purpose of not having to manually specify a different date format?

My (not so good) attempts at this are:

I tried a DA on Load with

NLS_SESSION.SET_NLS('nls_date_format', 'dd-mm-yyyy');

and

begin

 execute immediate q'\[alter session set   nls\_date\_format = 'dd-mm-yyyy'\]';

end;

but neither worked...

Note: We can't change the Application Date Format as it would affect many other areas.

Thanks
Gaspar.

This post has been answered by GasparYYC on Jun 26 2020
Jump to Answer
Comments
Post Details
Added on Jun 19 2020
15 comments
1,951 views