Skip to Main Content

SQL & PL/SQL

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 handle Brazilian Language in oracle pl/sql

nazzuMar 26 2013 — edited Mar 26 2013
Hi,

Thanks for your help as always ....

I have a build a pl/sql report in oracle apps.
When i ran the report for 'American English' with date as a parameter the report is running fine.
But the same when i ran for 'Brazilian Portuguese' it is erroring out.
I found that the issue is because of the date , which is different from English to Portuguese.
As an example , the month 'FEB' is in English but the same is 'FEV' in Portuguese

I tried to alter the session when the report is running for 'Brazil' but sit goes in vain.
Below is way i try to handle the condition.
IF L_BOOK_TYPE = 'BRAZIL' THEN
execute immediate 'alter session set nls_language=Brazilian Portuguese';
end if;

Please give an assistance on this.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2013
Added on Mar 26 2013
3 comments
1,104 views