Download

The SQL Editor that was designed with you in mind.

Home About Product Features Screenshots Videos Download\Purchase Support Forum
navdot

Data Transfer Utiltity

The data transfer window let's you move data from one supported data source to another. This can be a "one-off" transfer or it can be built into a reusable compilation as seen in the image below:

SQL Query Tool Data Transfer Utiltity

There are several transfer types:

  1. Delete\Insert
    • All rows from the target database will be deleted. Each row from the source database will be inserted into the target.
  2. Update\Insert
    • All rows from the target will be compared to the source (based on matching primary keys). If a row from the source database is found in the target, the target will be updated. If a row from the source database is not found in the target, the row will be inserted into the target.
  3. Insert Only
    • Only rows from the source that do not exist in the target will be moved.
  4. Update Only
    • Only rows from the source that exist in the target will be updated.

After a table is selected from the table drop down, all columns will be loaded into the column grid. Here, columns can be removed and it's position moved. This gives you the flexibility to match a source table to a target table when the structure is not the same. You can also add "static" values to the source column list so that, for example, a date column in the source always has a specific date or a char column always has a specific character value.

To restrict the rows that are moved from the source to the target, you can declare a where clause. This where will be applied to the source before the source data is retrieved. You can see how many rows will be retrieved from the source by clicking the validate button.

You can transfer data for a single table by opening it (double clicking in the list) and clicking the execute button on the toolbar within the opened tab. A transfer report will display for that one item.



Note: To facilitate the transfer of information from two completely different data sources, the client needs to act as the intermediary. What this means is that all applicable data is retrieved from the source and all applicable data is retrieved from the target. In the event of a Delete\Insert, no data is retrieved from the target, just the source. Keep this in mind because moving millions of rows of data can tax your available memory and possibly take a long time to finish.

Note: When applicable, Identity fields are disabled while inserting data. This is done to preserve relationships between tables where one table contains a foreign key to another tables Identity column. If you're transfering data between tables that contain identity columns, it may be best to use the Delete\Insert option. Using Update\Insert may result in undesirable updates.

Note: Before data is transfered the foreign keys for the table are disabled. The process of deleting, inserting and updating may not satisfy foreign key constraints until data from other tables are present.

SQL Query Tool Download
QweryBuilder Trial
20,328 KB - Version: 7.3.2

QweryBuilder is an SQL Editor and Query Tool. Its purpose is to make accessing information from a database simple, quick, accurate and efficient.

Work with your SQL Server, ASE, SQL Anywhere and Oracle databases in one single application.

"I would like to say again how much time your product saves me and how I truly appreciate the responsiveness of the support you provide."

Read More Testimonials
SQL Query Tool  |  SQL Editor  |  Database Development Tool  |  SQL References  |  Testimonials
Copyright © 2008-2012 Werysoft Inc. All rights reserved.
Follow us on:   Join us on Facebook Follow us on Twitter Join us on Google+ Read our blog