Problem with FieldsAsString and dates with different formats.
Posted: Fri 07 Mar 2008 15:47
Hi Folks!
It looks like there is a problem with FieldsAsString and the buffer size used to return dates when changes are made to NLS_DATE_FORMAT. Here's an example of what happens:
Note that the size of the date string stays the same and truncates the string. Perhaps I'm missing a setting or call I can make to reset the buffer size? Thanks for any help or suggestions!
-Mark Ford
Benthic Software
It looks like there is a problem with FieldsAsString and the buffer size used to return dates when changes are made to NLS_DATE_FORMAT. Here's an example of what happens:
Code: Select all
SQL> select sysdate from dual
SYSDATE
---------
07-MAR-08
SQL> alter session set nls_date_format = 'MM-DD-YYYY'
SQL> select sysdate from dual
SYSDATE
---------
03-07-200
SQL> alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS'
SQL> select sysdate from dual
SYSDATE
---------
07-MAR-20
-Mark Ford
Benthic Software