Online SQL Editor

Invantive Cloud contains an online editor with which SQL statements can be composed and executed for over 70 (cloud) platforms such as Yuki, Visma.net Financials, Teamleader and Exact Online. With Invantive SQL statements, data can also be easily exchanged between platforms. The SQL editor works on Windows, Mac, Linux as well as on smartphones and tablets. This topic teaches you more about using SQL on Invantive Cloud, the SQL language and the output to, for example, Excel or PDF.

Preparations

To use the Online SQL Editor, you first need to register an account as can be seen in the following video:

In addition, you must first define a database. This works almost the same for all platforms, as described at Register your first Database on Invantive Cloud (English). The following video shows an example of how a database is defined for Teamleader:

Composing SQL Online

You can find the SQL editor in the “Development” menu:

Then you select the desired database for which you want to write queries:

The SQL editor is also accessible directly via an “SQL Editor” button at the database definition:

After selection, the SQL editor appears with the editor (1), the list of available objects (tables, views, blue 2), the results (3) and the output via dbms_output (4):

SQL consists predominantly of “queries”: requests for data. In the editor (blue 1) you can enter queries such as:

select *
from   ServiceDeskQueues

The text of the editor is split on blank lines. You can execute the query where the cursor is located using the “Execute” button. The results then automatically appear under the “Results” tab:

Other SQL statements than queries are also possible, such as updating data with an update or synchronising two systems with synchronize. The full possibilities are described in the so-called “SQL grammar”.

Numerous practical examples of useful SQL statements that you can use immediately can be found in the forums.

When returning to the online SQL editor after previous use, the most recently used queries are still in the window. This is remembered locally per device. The results are (intentionally) not remembered by the online SQL editor.

Data Exchange

The online SQL editor can also be used to exchange data between platforms. Examples of scripts for data exchange are described at:

In addition to the synchronize statement, union distinct is also often used for incremental synchronisation:

History

The SQL editor in Invantive Cloud is a further development for web use of the Online SQL Editor based on Invantive Producer. This Online SQL Editor could process data from a maximum of one platform at a time.