Overview

SQL+ is an AddIn for Microsoft Excel. It enables the use of SQL in Excel.

Installation & Removal

Installation

  1. Make sure that Excel is closed.
  2. If you have already installed a version of SQL+, this must be uninstalled first.
  3. Download the SQL+ add-in from our Website.
  4. Enter your email address and optionally your name and company and press “Submit”. Then check your mailbox and, if necessary, your spam folder. Finally, click on the download link.
  5. After the download is complete, click on the folder icon next to the downloaded file. Depending on which browser you use, this view may differ. Alternatively, open explorer and then the download folder or, if you have created a user-defined folder for your downloads, this folder.
  6. Right click on the zip folder and then click on "Extract All".
  7. Click on "Extract".
  8. Open the newly created folder with a double click.
  9. Execute the file with the file type "vsto" with a double click.
  10. Press "Install".
  11. Once the installation is complete, click "close".
  12. Now open Excel. When you open a workbook, you should see a new ribbon labeled "SQL+". Click on it to use SQL+.

Removal

  1. Click on the search button on the taskbar and search for "add or remove programs". Then click on the first search result.
  2. Search for "SQL", click on the three dots and then press uninstall.
  3. Click again on "Uninstall".
  4. Click on "OK".

Usage

When you open Excel and open or create a workbook, you should see the “SQL+” ribbon in the menu bar. Click on it to use the functions of SQL+.

Ribbon

  1. Button to open the SQL Editor, the core functionality of the AddIn.
  2. Convenience feature of the AddIn to define the general format of the generated results.
  3. Convenience features of the AddIn to define the format of text, numbers and dates of the generated results.
  4. [...]

SQL Editor

  1. Press the "Input XLS" button to select a workbook as input. The currently open workbook is selected as default. To reselect this after having selected another one press "[This Workbook]". Press the "Input CSV" button to open the input csv dialog. Here you can select your parameters for your csv files. Press "Select Folder" to select a folder that contains the csv files. The folder acts like a workbook and the files like worksheets. When all parameters and your folder are selected press "Done".
  2. Here you can select a template from the dropdown menu.
  3. [...]
  4. Here you can enter your own SQL query in the field or edit manually a template. When you use a xls as input the input sheet must be entered with a "$" after the name and in square brackets. If you use a folder with csv's as input you have to enter full file name with ".csv" in square brackets.
  5. Here you can either replace placeholders defined by the selected template with your own values or define your own replacements.
  6. Select your output sheet from the currently open workbook from the dropdown menu.
  7. Optionally, you can choose whether the header should be included, the output sheet should be cleared or the output should be transposed.
  8. To execute the SQL query with the selected parameters press "RUN".
  9. [...]
  10. [...]

Special Functions

[...]

[...]

SQL Patterns

In the SQL Template dropdown, you may select from a list of SQL design patterns. These patterns employ placeholders (values in square brackets) for table and column names and various parameters. To adapt a pattern to your particular cause, replace its placeholders with your own values using the right pane of the SQL editor. You may also define replacements for additional parameters or clauses and apply them to a selected template or a self-defined statement.

Data Quality

Time Series

Statistics