Hugh.Jones
Member²
Hi, all.
I have been trying, without success, to get the Oracle Loader to load Timestamp fields from Interbase.
It does not look to me as though the Loader's DateFormat makes any difference, but I guess I am missing something.
Oracle shows NLS_DATE_FORMAT as
DD-MON-RR
Oracle Loader DateFormat property ( at design time ) is :
DD-MON-YYYY
And my Delphi Short Date Format is :
ShortDateFormat := 'DD-MMM-YYYY'
I loaded a small Interbase table with the values "Today", "Yesterday" and "Tomorrow" and the Loader reports.
ORA-26093: input data column size (11) exceeds the maximum input size (9)
This suggests to me that the 9 char nls_date_format is still in force.
I stepped through the code and found that the design time setting is lost - the current value is '', so I set the value at run time. This had no effect on the behaviour described.
Now, I can change the Delphi Short Date Format variable to suit the nls parameter easily enough, but I have not yet tackled the time portion of the date; If I insert "Now" into the IB Table, I am back to the same issue.
Would you advise please ? Have I missed something ?
I have been trying, without success, to get the Oracle Loader to load Timestamp fields from Interbase.
It does not look to me as though the Loader's DateFormat makes any difference, but I guess I am missing something.
Oracle shows NLS_DATE_FORMAT as
DD-MON-RR
Oracle Loader DateFormat property ( at design time ) is :
DD-MON-YYYY
And my Delphi Short Date Format is :
ShortDateFormat := 'DD-MMM-YYYY'
I loaded a small Interbase table with the values "Today", "Yesterday" and "Tomorrow" and the Loader reports.
ORA-26093: input data column size (11) exceeds the maximum input size (9)
This suggests to me that the 9 char nls_date_format is still in force.
I stepped through the code and found that the design time setting is lost - the current value is '', so I set the value at run time. This had no effect on the behaviour described.
Now, I can change the Delphi Short Date Format variable to suit the nls parameter easily enough, but I have not yet tackled the time portion of the date; If I insert "Now" into the IB Table, I am back to the same issue.
Would you advise please ? Have I missed something ?