# Data Compare in TOAD for SQL Server

**URL:** <https://forums.toadworld.com/t/data-compare-in-toad-for-sql-server/58028>\
**Category:** Idea Pond\
**Created:** [August 25, 2023, 8:07am UTC](https://forums.toadworld.com/t/data-compare-in-toad-for-sql-server/58028 "2023-08-25T08:07:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul.hicks](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@paul.hicks](https://forums.toadworld.com/u/paul.hicks)\
**Post date:** [August 25, 2023, 8:07am UTC](https://forums.toadworld.com/t/data-compare-in-toad-for-sql-server/58028/1 "2023-08-25T08:07:26Z")

</div>

When using Data Compare and Synchronisation in TOAD for SQL Server, the script generated fails because the date format is incorrect for the session.

The issue can be easily fixed, but because the script is so large, it can't be loaded into the TOAD editor, changed, then executed. I can only achieve this by editing in NotePad and breaking the script into smaller chunks for execution, which is a big manual overhead.

If TOAD could identify the format of the datetime fields specified in the string values for the datetime format fields, it could automatically add a SET DATEFORMAT command for the session.

Alternatively you could add an option to manually specify and add a SET DATEFORMAT command at the start of the script.

---

<div class="post-metadata">

**Author:** ![rejhan.kuc](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@rejhan.kuc](https://forums.toadworld.com/u/rejhan.kuc)\
**Post date:** [August 28, 2023, 10:15am UTC](https://forums.toadworld.com/t/data-compare-in-toad-for-sql-server/58028/2 "2023-08-28T10:15:41Z")

</div>

Hi Paul,

Thanks for bringing this up on the forum, I'll pass this to our R&D for evaluation as well. Any additional context to your specific use case can be more than helpful, screenshots or even a short video displaying the above.
