Page 1 of 1

Timestamp format in Data Compare wrong

Posted: Thu 19 Jul 2018 16:17
by amochoru
I am using the dbforge Data Compare for Oracle tool to generate scripts for our DBA group. all of our date fields use a TIMESTAMP data type so when I generate a script through Synchronization I would expect the output in the file to match the yyyy-MM-dd hh:mm:ss.ffffff format set under Tools/Options/Data Editor/Formatting/Timestamp. The file instead contains a date in the format of MM/dd/yyyy hh:mm:ss.ffffff. Where is this being declared for the script file being generated through Synchronization?

Re: Timestamp format in Data Compare wrong

Posted: Thu 19 Jul 2018 17:21
by alexa
We will review this and will answer you as soon as possible.

Re: Timestamp format in Data Compare wrong

Posted: Wed 25 Jul 2018 20:12
by amochoru
Are there any updates on this issue?

Re: Timestamp format in Data Compare wrong

Posted: Mon 30 Jul 2018 10:32
by AlexandrS
Hello,

The settings you are talking about are tied with a data mapping in Data Editor.
A synchronization script is being created considering settings set during the session.
Please pay attention to the following parameters within a synchronization file.

ALTER SESSION SET NLS_TIMESTAMP_FORMAT = 'SYYYY/MM/DD HH24:MI:SS.FF';
ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT = 'SYYYY/MM/DD HH24:MI:SS.FF TZH:TZM';

Re: Timestamp format in Data Compare wrong

Posted: Tue 31 Jul 2018 20:52
by amochoru
So where is the Data Compare tool determining what to populate the alter session statements at the top of the file with? Is there a way I can control what the template will look like?

Re: Timestamp format in Data Compare wrong

Posted: Thu 02 Aug 2018 10:25
by alexa
Unfortunately, there is no a possibility to control these settings except on changing the settings directly in the sync script.

Though, we will review implementing such a possibility when developing the next product versions.