Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added

You can import data from a specified database connection and using SQL SELECT statement result data. Data import is similar to Excel and CSV file upload and Import from REST API. You can also schedule regular daily import from provided SQL SELECT statement results.

...

Go to Source Data tab and Add new source application and select SQL application type.

Image RemovedImage Added

If you have already created another similar SQL data source, then you can export its definition and paste it in Import definition to create a new SQL source application with the same parameters.

...

In the next step, you will need to provide SQL source parameters that will be used to retrieve the data. See example:

Image RemovedImage Added

In Database type, select database server type (MySQL, PostgreSQL, MS SQL, and Oracle are supported).

...

If you would like to use incremental import to update just the recent source data after the initial full import, then click Incremental import parameters and enable it:

Image RemovedImage Added

(example for MySQL database, change SQL conditions according to your database)

...

See an example of SQL SELECT columns mapping:

Image RemovedImage Added

After mapping all necessary columns, you can click Start import. If there will be any mapping errors, then they will be shown, and columns with errors will be highlighted. If you need to save a draft of mapping, then click Back to edit and confirm that you want to save changes.

...

If source columns mapping was saved without any validation errors, then SQL source application will be queued for background import. You will see the updated count of imported rows during the import:

Image RemovedImage Added

You can later visit the Source Data tab again and click the Import button again to import the latest data from the SQL source. During each import, it will at first delete all data that were imported previously from this source and then import new data. In addition, you can also click Delete data to delete imported data from this source (you need to delete imported data also if you want to change source columns mapping).

...