Home
SQL Spreadsheets online help Prev Page Prev Page
Introduction
About SQL Spreadsheets
Version history
Contact us
Supported database engines
Using SQL Spreadsheets
Home page
SQL workbench
Command selection
Data sets
Exporting data sets
Exporting to text files
Exporting to Excel
Define column formats
Tasks
Task settings
DATETIME tag formatting options
Connect to database
Conecting to databases directly without client libraries installed
Connecting to an Oracle database
SQL scripts
SQL tags
Image and file options
Define column formats
Delivery channels
Logging options
Finalise
Run task
Scheduling a task
Options

Image and file options

Select how images and binary data should be exported on this page.

wizard05  
 
You can choose to display images in the spreadsheet itself by selecting the in the spreadsheet item.

export_embed  

You can choose to display images as links in the spreadsheet by selecting the as a link in the spreadsheet
item.

export_link  

You can also choose to display images in the spreadsheet itself, and also as a link to the full sized image image, by selecting the in the spreadsheet and also as a link
item.

export_embedlink  

The size of the image in the spreadsheet is determined by the cell size you enter.

For binary data that are not images, you can choose to export them to disk by selecting the Create links to binary data files
option.

createlink  
 
For image and binary that are saved to disk, you can select how the exported files will be named. By default, they will be named using the cell reference e.g.

naming01  
 
You can also provide the file name to save the file in, by selecting the using values from the previous column item.

naming02  
 
When you select this item, the column prior to the binary data column must contain a file name. If you look at Demo 4, you will see that the SQL query retrieves the file name column prior to the binary data column:

naming03  
 
In the exported spreadsheet, the link description uses the file name:

naming05  
 
When another file of the same name as the exported file exists, you have 3 options. You can choose to make each exported file have a unique name by selecting the generate unique name item. In the screenshot above, rows 10, 12 and 14 actually referenced the same image in the database, but SQL Spreadsheets saved the files using unique file names.

If you choose the generate unique name only if file was not created for this spreadsheet
item, SQL Spreadsheets will not save duplicate files for the current spreadsheet. In the example below, rows 10, 12, and 14 now reference the same image.

naming06  
 
Finally, you can choose to overwrite any existing files of the same name by selecting the overwrite existing file item.

All external files will be saved in the same folder as the exported spreadsheet. If you want the files to be saved in a subfolder, enter the name of the subfolder in the Files folder
area. In the example below, the spreadsheet file is saved in the folder F:\Projects\.

filesfolder01  
 
If we now enter the value files as below in the Files folder, all exported files will be stored in the F:\Projects\files folder.

filesfolder02