Date format - is it possible to bypass it using settings ? [message #50316] |
Mon, 11 March 2002 05:11 |
Andrei Zykov
Messages: 1 Registered: March 2002
|
Junior Member |
|
|
Hi all,
I have a SliverStream application initially written for MS SQL 7, that constructs SQL queries programmatically, particularly, data strings are coded as "YYYY-MM-DD".
However, due to different date format on Oracle 8i ("DD-MON-RR"), queries using date fields in WHERE clause cause errors.
Is it possible to configure Oracle database so that without making changes in the app's code queries could be run correctly ? (The database is exclusively used by this application).
I changed NLS_DATE_FORMAT in initial parameter file accordingly, but this did not help. It seems that changing this parameter at session level (ALTER SESSION..) could help, but this is inacceptable due to some reasons.
Thank you.
|
|
|
|