Re: date problem in migrating Oracle Forms&Reports 4 to Oracle Forms&Reports 6
Date: 3 Jan 2003 05:29:41 -0800
Message-ID: <8288bbda.0301030529.700a5d4_at_posting.google.com>
END LOOP; /* End of sample code inside my stored Procedure */
Ok, and my remarks are as follows:
While the above query fetches the correct results when it is
executed
from a)the SQL Plus environment and b) from with in a program unit in
Oracle Forms. More exactly it fetches 6404 records when executed on
the testing Database and some million when executed on the production
DB.
However the same query fetches only one record (instead of 6404) when executed in the above cursor inside the Stored Procedure OU550_S12. The 1 (and only) row in the result is as follows: ACCO_TRANS_NUMBER, RECEIPT_NO, ENTRY_DATE_TIME, ....... 5918 1 02/01/2000
It seems that the date format YYYY is never handled by the stored
procedure and this looks very strange to me.
Do you think that changing the database format to dd/mon/yyyy will
solve the problem?
What about the database parameters below :
NLS_DATE_FORMAT (in table 'nls_session_parameters') : DD/MON/RR NLS_DATE_FORMAT (in table 'nls_database_parameters') : DD/MON/YY NLS_DATE_FORMAT (in table 'nls_instance_parameters') : null
Do they play some role in the way the database server handles dates?
ALSO, is there a way to solve this date problem and keep the DD/MON/RR
date format, too?
This is because several hundreds of forms and reports have to be
migrated and i have already migrated more than 100. I think that if i
go through the process of using the DD/MON/YYYY then i may spend a lot
of time, more than i really have to finish this project.
Of course if there is no other solution then i will go through this
process.
Any other ideas?
Many Thanks in advance!!!
Christodoulou Demetris.
Received on Fri Jan 03 2003 - 14:29:41 CET