Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Data Sync Not Deleting Row In Target When A Where Clause Added

forums forums SQLyog Sync tools, Migration, Scheduled Backup and Notifications Data Sync Not Deleting Row In Target When A Where Clause Added

  • This topic is empty.
Viewing 3 reply threads
  • Author
    Posts
    • #34007
      ashwin
      Member

      Hi,

      Please confirm whether you are doing One-way sync or Two-way sync? Because Insert from Target to source happens only in Two-way sync.

      Regards,

      Ashwin

    • #34008
      gonzaloleon
      Member
      'ashwin' wrote:

      Hi,

      Please confirm whether you are doing One-way sync or Two-way sync? Because Insert from Target to source happens only in Two-way sync.

      Regards,

      Ashwin

      I'm having the same problem, i make another post.

      In my case, im doign one way sync.

      Thanks!

    • #34009
      nigelf
      Member

      Hi,

      One way sync – but I'm not looking to insert into the source table. Normally in one-way sync, if a row has been deleted in the source, it is then deleted in the target when synced. But when I add the WHERE clause, the deleted rows in the source are no longer deleted in the target.

      thanks.

    • #34010
      Jan.S
      Member

      Hi,

      This is by design. When you have a WHERE clause, and rows need to be deleted in the target, there is a discrepancy in which rows should be deleted. Therefore, to avoid any confusion, rows are not deleted when a WHERE clause is used.

      Regards,

      Janani

Viewing 3 reply threads
  • You must be logged in to reply to this topic.