Versions Compared

Key

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

SQL Cloud allows create and share CSV tables from SQL queries.

Download

  • Windows only: admin permission required

View file
namesetup.exe

  • Multi-platform (Windows,

...

  • macOS, Linux): Java installed is required.

View file
nameinstall.jar

Step 1. Run the installer

c:\> java -jar install

Image Modified

...

Step 2. Run up the CSV Server

Type in your PC search bar “CSV”. In the appeared list of docs and applications click on the “SQL Cloud CSV Server” app.

Image Modified

This will start the SQL Cloud CSV Query Server locally:

Image Added

Step 3. Copy the CSV URL

...

from SQL Cloud CSV Server console

Image Added

Step 4. Open any browser and insert into the address bar the previously copied URL

“ http://localhost:4231/sqlc/csv?sql= “

Step 5. Insert your query into the previously copied URL.

You have two options how to do this:

  1. You can write your query right in the address bar of your browser ( example: http://localhost:4231/sqlc/csv?sql=select * from PROJECT ). And press “Enter”.

  2. You can go to your query console, write a query there or use SQLC Query Library to choose one, copy it from there, and insert it into the address bar.

Image Added

1. Copy your query from the console (select all query +Ctrl+C /Comnd+C)

Image Added

2. Enter copied query:

http://localhost:4231/sqlc/csv?sql=YOUR QUERY

And press Enter. It will automatically open a new page of SQLC Query Server and will ask you to enable the Server, and set a password (if you haven't done this before).

Step 6. Run a SQL query from your browser

Then you can crate CSV Tables with SQL from your browser.

Paste the URL above and replace the <query> parameter with yours

...

Image Added

3. Enable your server and set a password. Go back to the browser and refresh page. It will send you back to the SQL Cloud Query Server page so you could see whether the Server is connected.

Image Added

4. Go back to your browser and copy the entire URL.

Now This URL you can use to connect to a third-party tool that supports Data resources as URL.

Step 7. Share the query with third-parties

The URLs above displaying CSV on your browser can be safely shared as a data source with third-party tools like MS Power BI:

  1. Open Power Bi. Select “Get Data”. Chose as a resource for your data “Web”

Image Added

2. In opened dialog window insert the previously copied URL from your browser (look at Step 6. )

Image Added

3. Press Ok and then Load.

Image Modified

Every time refreshing data it will execute the copied query in real-time.

Please pay attention that when you close the Server or CSV Cloud Console or stop Server - your data will not be refreshing anymore and you'll get this alert:

Image Added